Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001427/0.001427, allocations: 112.9 kB / 16.42 MB, free: 6.512 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.001581/0.001581, allocations: 186.5 kB / 17.35 MB, free: 5.754 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.442/1.442, 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 10.1.1-maint.10.0.x/package.mo): time 2.581/2.581, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.91 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8962/0.8976, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002303/0.9, allocations: 0.8392 MB / 1.168 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001545/0.9002, allocations: 43.78 kB / 1.168 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.608e-05/0.9002, allocations: 0 / 1.168 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.321e-05/0.9003, allocations: 7.875 kB / 1.168 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.38e-05/0.9004, allocations: 7.938 kB / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.251e-05/0.9005, allocations: 23.97 kB / 1.168 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.9006, allocations: 63.78 kB / 1.168 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.9007, allocations: 39.97 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.47e-05/0.9008, allocations: 23.92 kB / 1.168 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.13e-05/0.9009, allocations: 27.8 kB / 1.168 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.9009, allocations: 8 kB / 1.168 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.9009, allocations: 8 kB / 1.168 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.9009, allocations: 15.92 kB / 1.168 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.901, allocations: 43.73 kB / 1.168 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.9011, allocations: 67.22 kB / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.9011, allocations: 0 / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9011, allocations: 0 / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.9011, allocations: 0 / 1.168 GB, free: 2.633 MB / 0.8887 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.0004971/0.9016, allocations: 380.1 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.9017, allocations: 8.922 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.9017, allocations: 16.84 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.902, allocations: 204.1 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.902, allocations: 8.375 kB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.9021, allocations: 12.31 kB / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.9022, allocations: 92.89 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.9022, allocations: 192 / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.9023, allocations: 7.938 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.9023, allocations: 0 / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.179e-05/0.9024, allocations: 39.92 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006144/0.903, allocations: 436.6 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.968e-05/0.9031, allocations: 41.28 kB / 1.17 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.9031, allocations: 21.84 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.9031, allocations: 0 / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.9031, allocations: 34.56 kB / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.9032, allocations: 0 / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001936/0.9034, allocations: 65.52 kB / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.9034, allocations: 77.11 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.9036, allocations: 156.7 kB / 1.17 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.9036, allocations: 25.7 kB / 1.17 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.9037, allocations: 116.2 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.04e-05/0.9037, allocations: 3.953 kB / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.9037, allocations: 17.72 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.9039, allocations: 322.8 kB / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.006e-05/0.9039, allocations: 4 kB / 1.17 GB, free: 356 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.38e-05/0.9039, allocations: 17.72 kB / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.242e-05/0.904, allocations: 25.72 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.904, allocations: 0 / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001013/0.9041, allocations: 65.53 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.9041, allocations: 8 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.9041, allocations: 0 / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.9041, allocations: 3.938 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.681e-05/0.9042, allocations: 8 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.9042, allocations: 0 / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.42e-05/0.9043, allocations: 3.938 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.9043, allocations: 12 kB / 1.171 GB, free: 192 kB / 0.8887 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 8.799e-05/0.9044, allocations: 117.8 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.9044, allocations: 15.89 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.9045, allocations: 11.91 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.9045, allocations: 7.984 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9045, allocations: 0 / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-05/0.9046, allocations: 85.05 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.9046, allocations: 4 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.4e-05/0.9047, allocations: 0 / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.311e-05/0.9047, allocations: 7.938 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001104/0.9048, allocations: 196.2 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001657/0.905, allocations: 298 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.28e-05/0.905, allocations: 12.08 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.173e-05/0.9051, allocations: 121.7 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of Backend: time 3.6e-07/0.9051, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004302/0.9055, allocations: 90.34 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004965/0.906, allocations: 0.6119 MB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of Templates: time 0.002691/0.9087, allocations: 0.5277 MB / 1.173 GB, free: 13.98 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches