Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.803/2.803, allocations: 476.6 MB / 0.7628 GB, free: 15.22 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 63.91 kB / 1.107 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323/1.325, allocations: 168.7 MB / 1.272 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002502/1.328, allocations: 0.8462 MB / 1.273 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001242/1.328, allocations: 41.45 kB / 1.273 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/1.328, allocations: 0.8438 kB / 1.273 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.659e-05/1.328, allocations: 14.56 kB / 1.273 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/1.328, allocations: 14.09 kB / 1.273 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.045e-05/1.328, allocations: 20.22 kB / 1.273 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/1.328, allocations: 59.08 kB / 1.273 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/1.328, allocations: 31.19 kB / 1.273 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.189e-05/1.328, allocations: 35.08 kB / 1.273 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/1.328, allocations: 26.97 kB / 1.273 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/1.328, allocations: 5.531 kB / 1.273 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/1.328, allocations: 6.625 kB / 1.273 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/1.328, allocations: 16.34 kB / 1.273 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/1.329, allocations: 32.5 kB / 1.273 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/1.329, allocations: 77.36 kB / 1.273 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.329, allocations: 8.734 kB / 1.273 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.645e-06/1.329, allocations: 0.6875 kB / 1.273 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.367e-05/1.329, allocations: 0 / 1.273 GB, free: 7.184 MB / 0.9981 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.0004598/1.329, allocations: 379.9 kB / 1.274 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/1.329, allocations: 10.5 kB / 1.274 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/1.329, allocations: 13.62 kB / 1.274 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/1.329, allocations: 187.9 kB / 1.274 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/1.33, allocations: 4.219 kB / 1.274 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/1.33, allocations: 17.03 kB / 1.274 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/1.33, allocations: 91.22 kB / 1.274 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/1.33, allocations: 192 / 1.274 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/1.33, allocations: 5.375 kB / 1.274 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/1.33, allocations: 1.656 kB / 1.274 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.117e-05/1.33, allocations: 42.33 kB / 1.274 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005556/1.33, allocations: 436.9 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.725e-05/1.33, allocations: 41.19 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.24e-05/1.331, allocations: 15.56 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/1.331, allocations: 1.031 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/1.331, allocations: 42.69 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/1.331, allocations: 0 / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002046/1.331, allocations: 54.75 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/1.331, allocations: 77.98 kB / 1.275 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/1.331, allocations: 158.5 kB / 1.275 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/1.331, allocations: 26.83 kB / 1.275 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/1.331, allocations: 113.2 kB / 1.275 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.427e-06/1.331, allocations: 9.953 kB / 1.275 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/1.331, allocations: 17.31 kB / 1.275 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.779e-05/1.331, allocations: 323 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.188e-05/1.331, allocations: 5.953 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.576e-05/1.331, allocations: 22.84 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.177e-05/1.331, allocations: 22.34 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/1.331, allocations: 5.031 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.44e-05/1.331, allocations: 67.19 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.331, allocations: 6.781 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.331, allocations: 5.031 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/1.331, allocations: 1.125 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.203e-05/1.331, allocations: 5.156 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/1.331, allocations: 5.062 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.985e-05/1.331, allocations: 5.25 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/1.331, allocations: 5 kB / 1.275 GB, free: 5.102 MB / 0.9981 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.989e-05/1.332, allocations: 118.6 kB / 1.275 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/1.332, allocations: 11.72 kB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/1.332, allocations: 14.75 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.332, allocations: 0.9375 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.332, allocations: 0.7812 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.332, allocations: 1.5 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/1.332, allocations: 470.2 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.332, allocations: 0.8125 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.096e-05/1.332, allocations: 5.859 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/1.332, allocations: 4.547 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/1.332, allocations: 0.7188 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/1.332, allocations: 4.844 kB / 1.276 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/1.332, allocations: 0.875 kB / 1.276 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.217e-05/1.332, allocations: 84.09 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/1.332, allocations: 86.33 kB / 1.276 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/1.332, allocations: 4.516 kB / 1.276 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.947e-05/1.332, allocations: 0.9688 kB / 1.276 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/1.332, allocations: 5.156 kB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/1.332, allocations: 1.688 kB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.466e-05/1.332, allocations: 119.3 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/1.332, allocations: 0 / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001961/1.332, allocations: 6.812 kB / 1.276 GB, free: 4.188 MB / 0.9981 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.0001281/1.333, allocations: 101 kB / 1.276 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001203/1.333, allocations: 21.02 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.333, allocations: 0 / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-05/1.333, allocations: 4.438 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/1.333, allocations: 14.53 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/1.333, allocations: 179.1 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/1.333, allocations: 0.7019 MB / 1.277 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.486e-05/1.333, allocations: 6.453 kB / 1.277 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/1.334, allocations: 11.19 kB / 1.277 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/1.334, allocations: 0 / 1.277 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of Templates: time 0.003367/1.337, allocations: 477.2 kB / 1.278 GB, free: 3.121 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.811328923329711]