Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.001519/0.001519, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001678/0.001678, allocations: 191 kB / 22.23 MB, free: 5.16 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.55/1.55, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.302/3.302, allocations: 496 MB / 0.7835 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 66.8 kB / 1.138 GB, free: 33.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4396/0.4418, allocations: 173.6 MB / 1.307 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002171/0.444, allocations: 0.8522 MB / 1.308 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001153/0.4441, allocations: 39.84 kB / 1.308 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.428e-05/0.4441, allocations: 0 / 1.308 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.96e-05/0.4442, allocations: 7.875 kB / 1.308 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.691e-05/0.4443, allocations: 15.86 kB / 1.308 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.749e-05/0.4443, allocations: 15.98 kB / 1.308 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.4444, allocations: 59.84 kB / 1.308 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.4446, allocations: 39.97 kB / 1.308 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.042e-05/0.4446, allocations: 27.86 kB / 1.308 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.432e-05/0.4447, allocations: 27.8 kB / 1.308 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.4447, allocations: 8 kB / 1.308 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.4447, allocations: 4 kB / 1.308 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/0.4447, allocations: 19.92 kB / 1.308 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.4448, allocations: 31.81 kB / 1.308 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.4449, allocations: 79.5 kB / 1.308 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4449, allocations: 0 / 1.308 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4449, allocations: 0 / 1.308 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.4449, allocations: 0 / 1.308 GB, free: 0.5586 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.0004602/0.4454, allocations: 302 kB / 1.309 GB, free: 236 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.4454, allocations: 12.92 kB / 1.309 GB, free: 224 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.4455, allocations: 12.84 kB / 1.309 GB, free: 212 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.4457, allocations: 138.3 kB / 1.309 GB, free: 48 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.4457, allocations: 4.375 kB / 1.309 GB, free: 44 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.4457, allocations: 8.375 kB / 1.309 GB, free: 36 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.4459, allocations: 91.89 kB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4459, allocations: 4.188 kB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.4459, allocations: 7.938 kB / 1.309 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.4459, allocations: 4 kB / 1.309 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.817e-05/0.446, allocations: 35.92 kB / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.4466, allocations: 403.8 kB / 1.309 GB, free: 15.44 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.264e-05/0.4466, allocations: 45.19 kB / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.4467, allocations: 13.84 kB / 1.31 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/0.4467, allocations: 4 kB / 1.31 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.4467, allocations: 34.56 kB / 1.31 GB, free: 15.31 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/0.4467, allocations: 0 / 1.31 GB, free: 15.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001778/0.4469, allocations: 61.52 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.447, allocations: 77.11 kB / 1.31 GB, free: 15.15 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.4471, allocations: 162.2 kB / 1.31 GB, free: 14.98 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.4471, allocations: 25.7 kB / 1.31 GB, free: 14.95 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.929e-05/0.4472, allocations: 112 kB / 1.31 GB, free: 14.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.372e-06/0.4472, allocations: 0 / 1.31 GB, free: 14.84 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.4473, allocations: 21.67 kB / 1.31 GB, free: 14.81 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4474, allocations: 323.1 kB / 1.31 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/0.4474, allocations: 4 kB / 1.31 GB, free: 14.48 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.72e-05/0.4475, allocations: 17.72 kB / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.093e-05/0.4475, allocations: 29.66 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4475, allocations: 0 / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.999e-05/0.4476, allocations: 61.58 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.4476, allocations: 8.062 kB / 1.31 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4476, allocations: 7.938 kB / 1.31 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.4477, allocations: 0 / 1.31 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.897e-05/0.4477, allocations: 4 kB / 1.31 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.4477, allocations: 0 / 1.31 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.904e-05/0.4478, allocations: 4 kB / 1.31 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.4478, allocations: 3.984 kB / 1.31 GB, free: 14.33 MB / 1.014 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.891e-05/0.4478, allocations: 122.5 kB / 1.311 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.4479, allocations: 11.91 kB / 1.311 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.4479, allocations: 19.75 kB / 1.311 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4479, allocations: 0 / 1.311 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4479, allocations: 0 / 1.311 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4479, allocations: 0 / 1.311 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004308/0.4484, allocations: 445.8 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4484, allocations: 4 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.901e-05/0.4484, allocations: 3.984 kB / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4484, allocations: 4.062 kB / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.4484, allocations: 4 kB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4484, allocations: 0 / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4484, allocations: 3.938 kB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.577e-05/0.4485, allocations: 77.89 kB / 1.311 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.4485, allocations: 11.94 kB / 1.311 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.4485, allocations: 96 / 1.311 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.188e-05/0.4486, allocations: 12.03 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.4486, allocations: 3.984 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.4486, allocations: 0 / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001131/0.4487, allocations: 121.9 kB / 1.311 GB, free: 13.42 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.4487, allocations: 0 / 1.311 GB, free: 13.42 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001909/0.4489, allocations: 8 kB / 1.311 GB, free: 13.41 MB / 1.014 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.0001114/0.449, allocations: 99.23 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.904e-05/0.4491, allocations: 19.94 kB / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4491, allocations: 3.938 kB / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.458e-05/0.4491, allocations: 8 kB / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.4493, allocations: 13.75 kB / 1.311 GB, free: 13.26 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.4496, allocations: 162.5 kB / 1.312 GB, free: 13.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.45, allocations: 0.6965 MB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.567e-05/0.4501, allocations: 8.422 kB / 1.312 GB, free: 12.33 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.4501, allocations: 11.44 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.4501, allocations: 0 / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of Templates: time 0.003136/0.4532, allocations: 480.5 kB / 1.313 GB, free: 11.86 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.491141323931515]