Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.001641/0.001641, allocations: 110 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.001677/0.001677, allocations: 189.8 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.456/1.456, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.212/3.212, allocations: 0.4893 GB / 0.7884 GB, free: 33.02 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-master/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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 65.88 kB / 1.145 GB, free: 30.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3554, allocations: 174.9 MB / 1.316 GB, free: 9.742 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002134/0.3575, allocations: 0.8413 MB / 1.317 GB, free: 8.902 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001226/0.3576, allocations: 35.8 kB / 1.317 GB, free: 8.867 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.444e-05/0.3577, allocations: 0 / 1.317 GB, free: 8.867 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.293e-05/0.3577, allocations: 11.86 kB / 1.317 GB, free: 8.855 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.271e-05/0.3578, allocations: 19.86 kB / 1.317 GB, free: 8.836 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.932e-05/0.3579, allocations: 15.98 kB / 1.317 GB, free: 8.82 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.358, allocations: 59.84 kB / 1.317 GB, free: 8.762 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.3581, allocations: 35.97 kB / 1.317 GB, free: 8.727 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.554e-05/0.3582, allocations: 27.88 kB / 1.317 GB, free: 8.699 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.248e-05/0.3582, allocations: 27.84 kB / 1.317 GB, free: 8.672 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.3583, allocations: 8 kB / 1.317 GB, free: 8.664 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/0.3583, allocations: 4 kB / 1.317 GB, free: 8.66 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.3583, allocations: 19.88 kB / 1.317 GB, free: 8.641 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.3583, allocations: 27.8 kB / 1.317 GB, free: 8.613 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.3585, allocations: 79.58 kB / 1.317 GB, free: 8.535 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3585, allocations: 0 / 1.317 GB, free: 8.535 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3585, allocations: 3.938 kB / 1.317 GB, free: 8.531 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.3585, allocations: 0 / 1.317 GB, free: 8.531 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.0004441/0.3589, allocations: 310 kB / 1.318 GB, free: 8.195 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3589, allocations: 8.031 kB / 1.318 GB, free: 8.188 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.359, allocations: 12.89 kB / 1.318 GB, free: 8.176 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.3592, allocations: 130.4 kB / 1.318 GB, free: 8.023 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.3592, allocations: 8.375 kB / 1.318 GB, free: 8.016 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.3592, allocations: 12.31 kB / 1.318 GB, free: 8.004 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.3594, allocations: 90.14 kB / 1.318 GB, free: 7.906 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3594, allocations: 8.125 kB / 1.318 GB, free: 7.898 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3594, allocations: 7.938 kB / 1.318 GB, free: 7.891 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3594, allocations: 0 / 1.318 GB, free: 7.891 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.195e-05/0.3595, allocations: 35.98 kB / 1.318 GB, free: 7.855 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005407/0.36, allocations: 403.9 kB / 1.318 GB, free: 7.414 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.213e-05/0.3601, allocations: 41.16 kB / 1.318 GB, free: 7.355 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.988e-05/0.3601, allocations: 21.77 kB / 1.318 GB, free: 7.328 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-06/0.3601, allocations: 0 / 1.318 GB, free: 7.328 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.3602, allocations: 42.48 kB / 1.318 GB, free: 7.277 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3602, allocations: 0 / 1.318 GB, free: 7.277 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001683/0.3603, allocations: 53.81 kB / 1.318 GB, free: 7.219 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.3604, allocations: 85.05 kB / 1.318 GB, free: 7.117 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.3605, allocations: 155.9 kB / 1.319 GB, free: 6.957 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.3605, allocations: 25.7 kB / 1.319 GB, free: 6.926 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.516e-05/0.3606, allocations: 112 kB / 1.319 GB, free: 6.812 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-06/0.3606, allocations: 7.953 kB / 1.319 GB, free: 6.805 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.3607, allocations: 17.72 kB / 1.319 GB, free: 6.781 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3608, allocations: 318.8 kB / 1.319 GB, free: 6.461 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.3608, allocations: 8.031 kB / 1.319 GB, free: 6.453 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.631e-05/0.3608, allocations: 21.72 kB / 1.319 GB, free: 6.426 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.428e-05/0.3609, allocations: 25.7 kB / 1.319 GB, free: 6.395 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3609, allocations: 4 kB / 1.319 GB, free: 6.391 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.452e-05/0.361, allocations: 57.59 kB / 1.319 GB, free: 6.328 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.361, allocations: 7.938 kB / 1.319 GB, free: 6.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.361, allocations: 8 kB / 1.319 GB, free: 6.312 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.361, allocations: 4 kB / 1.319 GB, free: 6.309 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.761e-05/0.3611, allocations: 7.984 kB / 1.319 GB, free: 6.301 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3611, allocations: 0 / 1.319 GB, free: 6.301 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.885e-05/0.3611, allocations: 4 kB / 1.319 GB, free: 6.297 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.3611, allocations: 3.938 kB / 1.319 GB, free: 6.293 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.247e-05/0.3612, allocations: 115 kB / 1.319 GB, free: 6.172 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.3612, allocations: 11.91 kB / 1.319 GB, free: 6.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.3613, allocations: 19.73 kB / 1.319 GB, free: 6.137 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3613, allocations: 4 kB / 1.319 GB, free: 6.133 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3613, allocations: 0 / 1.319 GB, free: 6.133 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3613, allocations: 0 / 1.319 GB, free: 6.133 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003878/0.3617, allocations: 441.8 kB / 1.32 GB, free: 5.645 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3617, allocations: 4 kB / 1.32 GB, free: 5.641 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.725e-05/0.3617, allocations: 3.938 kB / 1.32 GB, free: 5.637 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3617, allocations: 4 kB / 1.32 GB, free: 5.633 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/0.3617, allocations: 4.062 kB / 1.32 GB, free: 5.629 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3617, allocations: 0 / 1.32 GB, free: 5.629 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3617, allocations: 0 / 1.32 GB, free: 5.629 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.325e-05/0.3618, allocations: 85.81 kB / 1.32 GB, free: 5.523 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.364e-05/0.3618, allocations: 7.953 kB / 1.32 GB, free: 5.516 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.3618, allocations: 0 / 1.32 GB, free: 5.516 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.317e-05/0.3618, allocations: 8.031 kB / 1.32 GB, free: 5.508 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.3618, allocations: 3.984 kB / 1.32 GB, free: 5.504 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.3619, allocations: 0 / 1.32 GB, free: 5.504 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.353e-05/0.3619, allocations: 121.3 kB / 1.32 GB, free: 5.387 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3619, allocations: 0 / 1.32 GB, free: 5.387 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001892/0.3621, allocations: 11.98 kB / 1.32 GB, free: 5.375 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 9.996e-05/0.3622, allocations: 94.2 kB / 1.32 GB, free: 5.277 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.911e-05/0.3623, allocations: 23.94 kB / 1.32 GB, free: 5.254 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3623, allocations: 0 / 1.32 GB, free: 5.254 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.019e-05/0.3623, allocations: 4 kB / 1.32 GB, free: 5.25 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.3625, allocations: 15.84 kB / 1.32 GB, free: 5.234 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.3628, allocations: 162.6 kB / 1.32 GB, free: 5.039 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.3631, allocations: 0.7004 MB / 1.321 GB, free: 4.312 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.252e-05/0.3631, allocations: 12.36 kB / 1.321 GB, free: 4.301 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.3632, allocations: 11.44 kB / 1.321 GB, free: 4.289 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.3632, allocations: 0 / 1.321 GB, free: 4.289 MB / 1.014 GB Notification: Performance of Templates: time 0.002872/0.3661, allocations: 484.5 kB / 1.321 GB, free: 3.816 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.078446290455759]