Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.002432/0.002432, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002347/0.002347, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.66/1.66, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.992/2.992, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/3.076e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002225/0.002256, allocations: 0.8186 MB / 0.8116 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001315/0.002387, allocations: 39.78 kB / 0.8116 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.002452, allocations: 5.594 kB / 0.8117 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.002485, allocations: 3.938 kB / 0.8117 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.471e-05/0.00258, allocations: 15.86 kB / 0.8117 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.942e-05/0.00264, allocations: 19.97 kB / 0.8117 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.002775, allocations: 59.78 kB / 0.8117 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.002913, allocations: 33.83 kB / 0.8118 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.003031, allocations: 39.89 kB / 0.8118 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.239e-05/0.003083, allocations: 19.91 kB / 0.8118 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.003109, allocations: 8 kB / 0.8118 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.00312, allocations: 4.688 kB / 0.8119 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.003142, allocations: 11.94 kB / 0.8119 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.003187, allocations: 28.44 kB / 0.8119 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.003322, allocations: 68.42 kB / 0.812 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.003324, allocations: 0 / 0.812 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003325, allocations: 4.531 kB / 0.812 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.00333, allocations: 0 / 0.812 GB, free: 0.9609 MB / 0.7605 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.0005798/0.003909, allocations: 413.3 kB / 0.8124 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.003949, allocations: 8.031 kB / 0.8124 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.446e-05/0.004004, allocations: 16.83 kB / 0.8124 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.004229, allocations: 133 kB / 0.8125 GB, free: 348 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.004247, allocations: 9.75 kB / 0.8125 GB, free: 340 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.004264, allocations: 8.375 kB / 0.8125 GB, free: 332 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.004459, allocations: 101.5 kB / 0.8126 GB, free: 216 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.004468, allocations: 192 / 0.8126 GB, free: 216 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.004484, allocations: 9.516 kB / 0.8126 GB, free: 208 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.004489, allocations: 4.375 kB / 0.8126 GB, free: 204 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.455e-05/0.004584, allocations: 43.8 kB / 0.8127 GB, free: 160 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006694/0.005253, allocations: 471.8 kB / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.005357, allocations: 58.22 kB / 0.8132 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.476e-05/0.005402, allocations: 28.75 kB / 0.8132 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.005415, allocations: 0 / 0.8132 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.005449, allocations: 37.39 kB / 0.8132 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.00545, allocations: 0.625 kB / 0.8132 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001978/0.005648, allocations: 58.86 kB / 0.8133 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.005718, allocations: 77.11 kB / 0.8134 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.005906, allocations: 195.7 kB / 0.8136 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.005926, allocations: 29.7 kB / 0.8136 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.006043, allocations: 159.9 kB / 0.8137 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.049e-05/0.006053, allocations: 3.953 kB / 0.8137 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.006098, allocations: 23.38 kB / 0.8138 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002782/0.006376, allocations: 496.1 kB / 0.8142 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.581e-05/0.006402, allocations: 13.23 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.091e-05/0.006443, allocations: 23.38 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.975e-05/0.006503, allocations: 37.12 kB / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.006505, allocations: 0 / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.478e-05/0.006599, allocations: 57.62 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.006614, allocations: 6.531 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.006621, allocations: 0 / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.006643, allocations: 4 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.408e-05/0.006707, allocations: 4 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.006716, allocations: 3.938 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/0.006749, allocations: 15.83 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.006754, allocations: 0 / 0.8144 GB, free: 14.22 MB / 0.7761 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.0001285/0.006882, allocations: 165.1 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.00692, allocations: 4.625 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.006945, allocations: 9.391 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.006947, allocations: 0 / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.006955, allocations: 4 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.00696, allocations: 3.938 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005286/0.007489, allocations: 0.5625 MB / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.00749, allocations: 0 / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.995e-05/0.00751, allocations: 4 kB / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.007511, allocations: 0.7812 kB / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.007522, allocations: 7.938 kB / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.007526, allocations: 7.031 kB / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.007527, allocations: 0 / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.007645, allocations: 88.12 kB / 0.8152 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.007664, allocations: 3.953 kB / 0.8152 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.007678, allocations: 7.938 kB / 0.8152 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.744e-05/0.007695, allocations: 0 / 0.8152 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.007718, allocations: 3.984 kB / 0.8152 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.007723, allocations: 6.438 kB / 0.8152 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001086/0.007832, allocations: 144.3 kB / 0.8154 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007832, allocations: 0 / 0.8154 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002663/0.008098, allocations: 11.95 kB / 0.8154 GB, free: 13.12 MB / 0.7761 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.0001392/0.008237, allocations: 99.19 kB / 0.8155 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.008364, allocations: 28.64 kB / 0.8155 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.008366, allocations: 0 / 0.8155 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.748e-05/0.008394, allocations: 20.72 kB / 0.8155 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.008572, allocations: 6.812 kB / 0.8155 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.008951, allocations: 171.7 kB / 0.8157 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.84e-05/0.00905, allocations: 86.16 kB / 0.8158 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.193e-05/0.009082, allocations: 5 kB / 0.8158 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.00911, allocations: 8.5 kB / 0.8158 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.009111, allocations: 1.656 kB / 0.8158 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of Templates: time 0.003045/0.01216, allocations: 346.3 kB / 0.8161 GB, free: 12.31 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 8.231349857058376]