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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 111 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.727/1.727, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.528/3.528, allocations: 0.4899 GB / 0.7916 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 76.36 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4541/0.4562, allocations: 176.1 MB / 1.321 GB, free: 2.781 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002589/0.4588, allocations: 0.8356 MB / 1.322 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000145/0.4589, allocations: 43.78 kB / 1.322 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.964e-05/0.459, allocations: 0 / 1.322 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.093e-05/0.459, allocations: 11.81 kB / 1.322 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.831e-05/0.4591, allocations: 15.86 kB / 1.322 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.444e-05/0.4592, allocations: 15.98 kB / 1.322 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.4594, allocations: 59.84 kB / 1.322 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.4595, allocations: 35.92 kB / 1.322 GB, free: 1.77 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.37e-05/0.4596, allocations: 27.84 kB / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.956e-05/0.4597, allocations: 31.8 kB / 1.322 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.4597, allocations: 8 kB / 1.322 GB, free: 1.703 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.4597, allocations: 8 kB / 1.322 GB, free: 1.695 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.673e-05/0.4597, allocations: 15.92 kB / 1.322 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.4598, allocations: 35.73 kB / 1.322 GB, free: 1.645 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.4599, allocations: 79.58 kB / 1.322 GB, free: 1.566 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.4599, allocations: 0 / 1.322 GB, free: 1.566 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.013e-06/0.4599, allocations: 0 / 1.322 GB, free: 1.566 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.4599, allocations: 0 / 1.322 GB, free: 1.566 MB / 1.014 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.0005896/0.4605, allocations: 383.1 kB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.4606, allocations: 19.91 kB / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.4606, allocations: 12.89 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.4609, allocations: 188.3 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.461, allocations: 8.375 kB / 1.323 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.461, allocations: 4.375 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.4612, allocations: 98.3 kB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4612, allocations: 4.188 kB / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.4612, allocations: 3.938 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.4612, allocations: 3.984 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.766e-05/0.4613, allocations: 39.98 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007353/0.462, allocations: 432.7 kB / 1.324 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.286e-05/0.4621, allocations: 37.16 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.141e-05/0.4622, allocations: 21.84 kB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.4622, allocations: 8.031 kB / 1.324 GB, free: 156 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.4622, allocations: 34.55 kB / 1.324 GB, free: 112 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 5.179e-06/0.4622, allocations: 3.984 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002097/0.4624, allocations: 57.48 kB / 1.324 GB, free: 44 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001776/0.4626, allocations: 81.11 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.4629, allocations: 160.5 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.4629, allocations: 29.7 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.467e-05/0.463, allocations: 111.9 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/0.463, allocations: 7.953 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.463, allocations: 13.72 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.4632, allocations: 322.8 kB / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.328e-05/0.4632, allocations: 8 kB / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.818e-05/0.4633, allocations: 17.72 kB / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.951e-05/0.4633, allocations: 37.64 kB / 1.324 GB, free: 15.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4633, allocations: 0 / 1.324 GB, free: 15.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001121/0.4634, allocations: 49.66 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.4635, allocations: 4 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.4635, allocations: 7.938 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.4635, allocations: 0 / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.4636, allocations: 11.92 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.4636, allocations: 4.062 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.398e-05/0.4637, allocations: 11.95 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.4637, allocations: 0 / 1.325 GB, free: 15.11 MB / 1.029 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 0.0001473/0.4638, allocations: 113.8 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/0.4639, allocations: 7.953 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.4639, allocations: 15.81 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4639, allocations: 3.984 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4639, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.4639, allocations: 4 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005577/0.4645, allocations: 470.8 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4645, allocations: 4 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.068e-05/0.4645, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.4645, allocations: 4 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.4645, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4645, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4645, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.4647, allocations: 89.83 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.613e-05/0.4648, allocations: 93 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.4648, allocations: 0 / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.505e-05/0.4648, allocations: 4 kB / 1.325 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.891e-05/0.4648, allocations: 3.984 kB / 1.325 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.4648, allocations: 0 / 1.325 GB, free: 14.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001421/0.465, allocations: 124.7 kB / 1.325 GB, free: 14.08 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.465, allocations: 3.938 kB / 1.325 GB, free: 14.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002076/0.4652, allocations: 8 kB / 1.325 GB, free: 14.07 MB / 1.029 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.000169/0.4653, allocations: 95.25 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.4655, allocations: 19.94 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4655, allocations: 0 / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.441e-05/0.4655, allocations: 8.188 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.4657, allocations: 17.89 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000472/0.4661, allocations: 154.8 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/0.4666, allocations: 0.7001 MB / 1.326 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.4667, allocations: 8.422 kB / 1.326 GB, free: 13 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.4667, allocations: 15.44 kB / 1.326 GB, free: 12.98 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4667, allocations: 0 / 1.326 GB, free: 12.98 MB / 1.029 GB Notification: Performance of Templates: time 0.003091/0.4698, allocations: 464.6 kB / 1.327 GB, free: 12.53 MB / 1.029 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.990599055308849]