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.008549/0.008549, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001595/0.001595, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.353/2.353, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.89 kB / 0.9509 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177/1.179, allocations: 140.4 MB / 1.088 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002905/1.182, allocations: 0.8334 MB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001602/1.182, allocations: 33.66 kB / 1.089 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.608e-05/1.182, allocations: 2.312 kB / 1.089 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.81e-05/1.182, allocations: 9 kB / 1.089 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001342/1.182, allocations: 18.22 kB / 1.089 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.747e-05/1.182, allocations: 16.42 kB / 1.089 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001961/1.182, allocations: 58.98 kB / 1.089 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/1.183, allocations: 46.23 kB / 1.089 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/1.183, allocations: 27.08 kB / 1.089 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.12e-05/1.183, allocations: 29.88 kB / 1.089 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/1.183, allocations: 6.656 kB / 1.089 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.795e-05/1.183, allocations: 5.312 kB / 1.089 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.999e-05/1.183, allocations: 12.98 kB / 1.089 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/1.183, allocations: 33 kB / 1.089 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/1.183, allocations: 82.34 kB / 1.089 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/1.183, allocations: 1.031 kB / 1.089 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.964e-06/1.183, allocations: 0 / 1.089 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.001e-06/1.183, allocations: 0 / 1.089 GB, free: 4.723 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.0004957/1.184, allocations: 374.8 kB / 1.089 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/1.184, allocations: 10 kB / 1.089 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/1.184, allocations: 12.34 kB / 1.089 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/1.184, allocations: 193.7 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/1.184, allocations: 14.81 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/1.184, allocations: 5.562 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/1.184, allocations: 94.3 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/1.184, allocations: 1.219 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/1.184, allocations: 5 kB / 1.09 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/1.184, allocations: 2.156 kB / 1.09 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/1.185, allocations: 39.48 kB / 1.09 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006411/1.185, allocations: 438.7 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.886e-05/1.185, allocations: 45.95 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.288e-05/1.185, allocations: 23.75 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/1.185, allocations: 0.75 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/1.185, allocations: 37.3 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/1.185, allocations: 0 / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002475/1.186, allocations: 56.72 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/1.186, allocations: 77.67 kB / 1.09 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/1.186, allocations: 161.5 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.235e-06/1.186, allocations: 26.83 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/1.186, allocations: 102.8 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.043e-05/1.186, allocations: 14.36 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/1.186, allocations: 14.69 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.209e-05/1.186, allocations: 319.1 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.517e-05/1.186, allocations: 8.453 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.82e-05/1.186, allocations: 20.27 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.453e-05/1.186, allocations: 30.39 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.186, allocations: 0.9375 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001171/1.186, allocations: 57.69 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/1.186, allocations: 7.906 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.186, allocations: 4.734 kB / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/1.186, allocations: 4.938 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.094e-05/1.187, allocations: 6.203 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/1.187, allocations: 1.219 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.527e-05/1.187, allocations: 6.906 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/1.187, allocations: 5.125 kB / 1.091 GB, free: 2.652 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.736e-05/1.187, allocations: 114.1 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.205e-05/1.187, allocations: 9.562 kB / 1.091 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/1.187, allocations: 15.42 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/1.187, allocations: 1.031 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.187, allocations: 1.641 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/1.187, allocations: 0 / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/1.187, allocations: 479.9 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.187, allocations: 0 / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.78e-05/1.187, allocations: 3.875 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/1.187, allocations: 1.031 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/1.187, allocations: 1.125 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/1.187, allocations: 8.625 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/1.187, allocations: 1.344 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/1.188, allocations: 79.67 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/1.188, allocations: 94.75 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/1.188, allocations: 1.609 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.225e-05/1.188, allocations: 1.094 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/1.188, allocations: 1.625 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/1.188, allocations: 1.766 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001227/1.188, allocations: 118.4 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.81e-07/1.188, allocations: 0 / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003499/1.188, allocations: 11.16 kB / 1.092 GB, free: 1.734 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 0.0001369/1.188, allocations: 103.3 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001214/1.188, allocations: 20.36 kB / 1.092 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.189, allocations: 0 / 1.092 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.739e-05/1.189, allocations: 11.91 kB / 1.092 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/1.189, allocations: 14.16 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/1.189, allocations: 164.6 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/1.189, allocations: 0.6923 MB / 1.093 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.453e-05/1.189, allocations: 11.62 kB / 1.093 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/1.19, allocations: 11.25 kB / 1.093 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of SimCode: time 2.71e-07/1.19, allocations: 0 / 1.093 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of Templates: time 0.00344/1.193, allocations: 466.7 kB / 1.094 GB, free: 16.67 MB / 0.8731 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/jenkins/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