Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.001029/0.001029, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001313/0.001313, allocations: 171.5 kB / 24.87 MB, free: 9.258 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 0.9953/0.9953, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.038/2.038, allocations: 377.9 MB / 0.6247 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 177] 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.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 1.094 kB / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.173e-05, allocations: 7.219 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002215/0.002247, allocations: 0.8122 MB / 0.8136 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001153/0.002362, allocations: 36.78 kB / 0.8136 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.002414, allocations: 4 kB / 0.8136 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.002449, allocations: 7.875 kB / 0.8136 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.849e-05/0.002528, allocations: 12.73 kB / 0.8136 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.31e-05/0.002571, allocations: 19.98 kB / 0.8137 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.345e-05/0.002664, allocations: 60.94 kB / 0.8137 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.002782, allocations: 31.97 kB / 0.8137 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.195e-05/0.002874, allocations: 43.84 kB / 0.8138 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.032e-05/0.002914, allocations: 17.06 kB / 0.8138 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.00293, allocations: 4 kB / 0.8138 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-06/0.002937, allocations: 4 kB / 0.8138 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.002958, allocations: 17.3 kB / 0.8138 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.00298, allocations: 15.94 kB / 0.8138 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.727e-05/0.003067, allocations: 39.83 kB / 0.8139 GB, free: 356 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.003069, allocations: 1.75 kB / 0.8139 GB, free: 356 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.172e-06/0.003071, allocations: 0 / 0.8139 GB, free: 356 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.003074, allocations: 0 / 0.8139 GB, free: 356 kB / 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.0003491/0.003423, allocations: 416.2 kB / 0.8143 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.003458, allocations: 8.031 kB / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.003491, allocations: 26.17 kB / 0.8143 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.003612, allocations: 136.4 kB / 0.8144 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.003623, allocations: 4.375 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.003635, allocations: 14.28 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.003735, allocations: 81.5 kB / 0.8145 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.003744, allocations: 8.172 kB / 0.8145 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.003751, allocations: 384 / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.003757, allocations: 384 / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.782e-05/0.003795, allocations: 34.27 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.004238, allocations: 0.7223 MB / 0.8153 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.739e-05/0.004325, allocations: 265.6 kB / 0.8155 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.871e-05/0.004364, allocations: 134.8 kB / 0.8157 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.004393, allocations: 119.2 kB / 0.8158 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.00444, allocations: 160.6 kB / 0.8159 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.004441, allocations: 0.7188 kB / 0.8159 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.524e-05/0.004496, allocations: 34.19 kB / 0.816 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.004559, allocations: 170.6 kB / 0.8161 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.004674, allocations: 201.8 kB / 0.8163 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.004683, allocations: 25.7 kB / 0.8164 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.004756, allocations: 178.4 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.004758, allocations: 0 / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.00479, allocations: 32.02 kB / 0.8166 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.004914, allocations: 0.4922 MB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-06/0.004922, allocations: 5.156 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.556e-05/0.004967, allocations: 77.47 kB / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.972e-05/0.005037, allocations: 89.41 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.005039, allocations: 0 / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001124/0.005151, allocations: 86.22 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.005165, allocations: 8.875 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.005171, allocations: 4 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.005181, allocations: 0 / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.948e-05/0.005231, allocations: 12 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.005236, allocations: 4 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.005261, allocations: 15.89 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.005265, allocations: 7.938 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 9.788e-05/0.005363, allocations: 285.6 kB / 0.8176 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.544e-05/0.005419, allocations: 148.9 kB / 0.8177 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.005466, allocations: 156.7 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.688e-05/0.005523, allocations: 268 kB / 0.8181 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.605e-05/0.005589, allocations: 272.6 kB / 0.8184 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.541e-05/0.005654, allocations: 277 kB / 0.8187 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.005832, allocations: 492.5 kB / 0.8191 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.7e-05/0.005869, allocations: 152.9 kB / 0.8193 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.432e-05/0.005903, allocations: 149.7 kB / 0.8194 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.035e-05/0.005963, allocations: 264.1 kB / 0.8197 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.52e-05/0.006029, allocations: 276 kB / 0.8199 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.208e-05/0.006091, allocations: 265.8 kB / 0.8202 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.536e-05/0.006156, allocations: 268 kB / 0.8205 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.006292, allocations: 451.9 kB / 0.8209 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.006349, allocations: 164.8 kB / 0.821 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.694e-05/0.006416, allocations: 265.4 kB / 0.8213 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.972e-05/0.006475, allocations: 152.8 kB / 0.8214 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.992e-05/0.006545, allocations: 264.4 kB / 0.8217 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.006581, allocations: 144.9 kB / 0.8218 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.419e-05/0.006635, allocations: 143.9 kB / 0.822 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006635, allocations: 4 kB / 0.822 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001595/0.006795, allocations: 12.61 kB / 0.822 GB, free: 7.598 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001155/0.00691, allocations: 222 kB / 0.8222 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.756e-05/0.006988, allocations: 35.58 kB / 0.8222 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.00699, allocations: 0 / 0.8222 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.006991, allocations: 0 / 0.8222 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.007295, allocations: 0.7062 MB / 0.8229 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.007537, allocations: 273.7 kB / 0.8232 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.296e-05/0.00757, allocations: 61.41 kB / 0.8232 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.412e-05/0.007605, allocations: 9.656 kB / 0.8232 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.007638, allocations: 74.2 kB / 0.8233 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of SimCode: time 1.042e-06/0.007639, allocations: 3.938 kB / 0.8233 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of Templates: time 0.001875/0.009515, allocations: 338.6 kB / 0.8236 GB, free: 5.84 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.406353918835521]