Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 109.1 kB / 16.41 MB, free: 6.516 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.001539/0.00154, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.4/1.4, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.292/2.292, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 59.91 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.976/0.9774, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001975/0.9795, allocations: 0.8228 MB / 1.089 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001092/0.9796, allocations: 41.2 kB / 1.089 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.625e-05/0.9796, allocations: 1.312 kB / 1.089 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.091e-05/0.9797, allocations: 15.53 kB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.887e-05/0.9798, allocations: 12.44 kB / 1.09 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.299e-05/0.9799, allocations: 16.53 kB / 1.09 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.98, allocations: 59.53 kB / 1.09 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.9801, allocations: 40.45 kB / 1.09 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.527e-05/0.9802, allocations: 29.92 kB / 1.09 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.046e-05/0.9803, allocations: 31.14 kB / 1.09 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.9803, allocations: 9.875 kB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.9803, allocations: 7.062 kB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.9804, allocations: 11.66 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.9804, allocations: 33.08 kB / 1.09 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.9805, allocations: 74.56 kB / 1.09 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9805, allocations: 1.062 kB / 1.09 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.874e-06/0.9805, allocations: 7.875 kB / 1.09 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.9806, allocations: 0 / 1.09 GB, free: 4.754 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.0003856/0.981, allocations: 374.1 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.981, allocations: 13.41 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.9811, allocations: 13.28 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.9812, allocations: 192.9 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.9813, allocations: 7.625 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.9813, allocations: 5.219 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.9815, allocations: 95.16 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.9815, allocations: 192 / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.9815, allocations: 9.969 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.9815, allocations: 5.75 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.471e-05/0.9816, allocations: 35.69 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.9821, allocations: 438.4 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.823e-05/0.9821, allocations: 41.14 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.9822, allocations: 29.09 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.9822, allocations: 0 / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.9822, allocations: 37.45 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.9822, allocations: 0 / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001626/0.9824, allocations: 56.61 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.9824, allocations: 78.42 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.9826, allocations: 164.8 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.084e-06/0.9826, allocations: 25.7 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.9826, allocations: 103.4 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.138e-06/0.9827, allocations: 10.33 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.9827, allocations: 13.69 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.627e-05/0.9827, allocations: 320.3 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.757e-05/0.9828, allocations: 8.078 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.283e-05/0.9828, allocations: 19.5 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.201e-05/0.9828, allocations: 32.3 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9828, allocations: 0 / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.865e-05/0.9829, allocations: 53.41 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.9829, allocations: 5.406 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.983, allocations: 0.6562 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.983, allocations: 5.156 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.701e-05/0.983, allocations: 13.97 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.9831, allocations: 1.625 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.176e-05/0.9831, allocations: 6.094 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.9831, allocations: 6.156 kB / 1.092 GB, free: 2.684 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 6.106e-05/0.9832, allocations: 110 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.9832, allocations: 16 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.9833, allocations: 12.7 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9833, allocations: 1.031 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.9833, allocations: 4 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.9833, allocations: 91.08 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.9833, allocations: 1.062 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-05/0.9834, allocations: 1.922 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.232e-05/0.9834, allocations: 1.094 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.609e-05/0.9835, allocations: 195.2 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.329e-05/0.9836, allocations: 300.7 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.039e-05/0.9837, allocations: 8.688 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.346e-05/0.9837, allocations: 120.7 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of Backend: time 2.21e-07/0.9837, allocations: 5.031 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004075/0.9842, allocations: 92.75 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003546/0.9845, allocations: 0.6133 MB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of Templates: time 0.002804/0.9873, allocations: 0.5297 MB / 1.094 GB, free: 1.078 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches