Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 112.7 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.001578/0.001578, 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.398/1.398, allocations: 222.9 MB / 241 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.283/2.283, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 59.91 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9573/0.9587, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002478/0.9612, allocations: 0.8313 MB / 1.089 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001259/0.9614, allocations: 40.69 kB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.805e-05/0.9615, allocations: 1.125 kB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.567e-05/0.9615, allocations: 11.23 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.9616, allocations: 13.81 kB / 1.09 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.695e-05/0.9617, allocations: 15.34 kB / 1.09 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.9618, allocations: 63.89 kB / 1.09 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.962, allocations: 41.91 kB / 1.09 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.286e-05/0.9621, allocations: 26.59 kB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.313e-05/0.9622, allocations: 30.03 kB / 1.09 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.9622, allocations: 10.83 kB / 1.09 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.9622, allocations: 9.562 kB / 1.09 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.9623, allocations: 16.59 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.02e-05/0.9623, allocations: 36.66 kB / 1.09 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.9625, allocations: 71.33 kB / 1.09 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9625, allocations: 0 / 1.09 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.535e-06/0.9625, allocations: 0 / 1.09 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.9625, allocations: 0.9688 kB / 1.09 GB, free: 4.762 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.000448/0.9629, allocations: 374.8 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.963, allocations: 8.531 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.9631, allocations: 17 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.9633, allocations: 196.9 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.9633, allocations: 7.75 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.9633, allocations: 5.875 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.9635, allocations: 89.89 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.9635, allocations: 1.438 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.9635, allocations: 13 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.9635, allocations: 1.125 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.916e-05/0.9636, allocations: 36.62 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.9641, allocations: 430.3 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.705e-05/0.9642, allocations: 45.14 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.8e-05/0.9642, allocations: 29.36 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.9642, allocations: 0 / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.9643, allocations: 36.98 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.9643, allocations: 0 / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001758/0.9645, allocations: 52.06 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.9645, allocations: 82.73 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.9646, allocations: 165.3 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.9646, allocations: 26.27 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.9647, allocations: 103.4 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.694e-06/0.9647, allocations: 9.594 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.9647, allocations: 14.58 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.177e-05/0.9648, allocations: 320.3 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.9648, allocations: 7.766 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.072e-05/0.9649, allocations: 16.16 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.933e-05/0.9649, allocations: 31.55 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9649, allocations: 0 / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.473e-05/0.965, allocations: 57.81 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.965, allocations: 5.953 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.965, allocations: 0 / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.965, allocations: 5.031 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.284e-05/0.9651, allocations: 6.141 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.9651, allocations: 9.891 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.035e-05/0.9652, allocations: 9.969 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-06/0.9652, allocations: 1.062 kB / 1.092 GB, free: 2.695 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 5.684e-05/0.9652, allocations: 118.2 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.9653, allocations: 8.328 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.9653, allocations: 16.59 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.9653, allocations: 0.9375 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.9653, allocations: 5.547 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.9654, allocations: 86.5 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.9654, allocations: 9.219 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.926e-05/0.9655, allocations: 1.953 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.9655, allocations: 0.5625 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.64e-05/0.9656, allocations: 198.9 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.887e-05/0.9657, allocations: 297.4 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.962e-05/0.9657, allocations: 11.64 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.362e-05/0.9658, allocations: 119.8 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of Backend: time 9.72e-07/0.9658, allocations: 0 / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004403/0.9662, allocations: 99.33 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003815/0.9666, allocations: 0.6092 MB / 1.093 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of Templates: time 0.003071/0.9697, allocations: 0.5193 MB / 1.094 GB, free: 1.09 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches