Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 110.7 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.397/2.397, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 63.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7988/0.8003, allocations: 140.4 MB / 1.089 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002057/0.8024, allocations: 0.824 MB / 1.089 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001211/0.8025, allocations: 44.42 kB / 1.089 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.045e-05/0.8026, allocations: 2 kB / 1.089 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.878e-05/0.8026, allocations: 9.422 kB / 1.089 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.891e-05/0.8027, allocations: 14.39 kB / 1.089 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.705e-05/0.8028, allocations: 15.94 kB / 1.09 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.8029, allocations: 63.66 kB / 1.09 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.8031, allocations: 36.94 kB / 1.09 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.647e-05/0.8031, allocations: 27.17 kB / 1.09 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.277e-05/0.8032, allocations: 29.91 kB / 1.09 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.8032, allocations: 6.969 kB / 1.09 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.8032, allocations: 6.094 kB / 1.09 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.8033, allocations: 19.95 kB / 1.09 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.8033, allocations: 32.23 kB / 1.09 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.8035, allocations: 77.75 kB / 1.09 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.8035, allocations: 0 / 1.09 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8035, allocations: 1.062 kB / 1.09 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.8035, allocations: 0 / 1.09 GB, free: 5.043 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004105/0.8039, allocations: 374.7 kB / 1.09 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.804, allocations: 8.906 kB / 1.09 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.804, allocations: 17.98 kB / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.8042, allocations: 195.9 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.8042, allocations: 8.281 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.8042, allocations: 13.19 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.8044, allocations: 89.22 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.8044, allocations: 5.156 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.8044, allocations: 9.031 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.8044, allocations: 1.703 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.164e-05/0.8045, allocations: 32.34 kB / 1.091 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.805, allocations: 438.1 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.074e-05/0.8051, allocations: 41.5 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.557e-05/0.8051, allocations: 20.38 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/0.8051, allocations: 1.875 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.8052, allocations: 40.58 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8052, allocations: 3.938 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001681/0.8053, allocations: 52.55 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.8054, allocations: 82.14 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.8055, allocations: 158.2 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.8055, allocations: 26.83 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.8056, allocations: 108.1 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.978e-06/0.8056, allocations: 9.578 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.8056, allocations: 18 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.8057, allocations: 316.4 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/0.8057, allocations: 7.516 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.973e-05/0.8058, allocations: 20.44 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.903e-05/0.8058, allocations: 26.44 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.8058, allocations: 0 / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.245e-05/0.8059, allocations: 66.05 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.8059, allocations: 5.766 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.8059, allocations: 5.031 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.8059, allocations: 1.062 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.779e-05/0.806, allocations: 5.797 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.806, allocations: 1.641 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.06e-05/0.8061, allocations: 6.156 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.8061, allocations: 4.906 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.462e-05/0.8062, allocations: 119.1 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.8062, allocations: 8.297 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.8062, allocations: 12.86 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.8062, allocations: 5.312 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.8063, allocations: 1.062 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.8063, allocations: 3.938 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.8066, allocations: 479.7 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8066, allocations: 0 / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.835e-05/0.8066, allocations: 3.875 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.8066, allocations: 1.094 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.8066, allocations: 1.875 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.8066, allocations: 0 / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8066, allocations: 1.125 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.589e-05/0.8067, allocations: 88.78 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.8068, allocations: 94.28 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.8068, allocations: 1.781 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.006e-05/0.8068, allocations: 0.8125 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.8068, allocations: 1.891 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-06/0.8068, allocations: 1.125 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.88e-05/0.8069, allocations: 122.1 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8069, allocations: 0 / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001862/0.8071, allocations: 11.69 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.891e-05/0.8072, allocations: 102.5 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.853e-05/0.8073, allocations: 18.66 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8073, allocations: 0.875 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.201e-05/0.8074, allocations: 5.172 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.8075, allocations: 13.42 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.8078, allocations: 197.7 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.808, allocations: 0.6937 MB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.808, allocations: 10.56 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.808, allocations: 1.125 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of Templates: time 0.00297/0.811, allocations: 0.865 MB / 1.095 GB, free: 0.9648 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches