Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.001371/0.001371, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001497/0.001497, allocations: 193.3 kB / 22.17 MB, free: 5.652 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.504/1.504, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.801/2.801, allocations: 476.7 MB / 0.7645 GB, free: 10.13 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 67.89 kB / 1.109 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8528/0.8548, allocations: 168.7 MB / 1.274 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002403/0.8572, allocations: 0.8975 MB / 1.275 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001491/0.8574, allocations: 51.78 kB / 1.275 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.529e-05/0.8575, allocations: 4 kB / 1.275 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.461e-05/0.8575, allocations: 15.8 kB / 1.275 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.646e-05/0.8576, allocations: 11.88 kB / 1.275 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.576e-05/0.8577, allocations: 23.97 kB / 1.275 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.8578, allocations: 79.78 kB / 1.275 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.858, allocations: 41.09 kB / 1.275 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.739e-05/0.858, allocations: 35.8 kB / 1.275 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.46e-05/0.8581, allocations: 31.8 kB / 1.275 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.8581, allocations: 8 kB / 1.275 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.8581, allocations: 8 kB / 1.275 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.8582, allocations: 23.91 kB / 1.275 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.8582, allocations: 47.67 kB / 1.275 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.8584, allocations: 98.22 kB / 1.275 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8584, allocations: 0 / 1.275 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8584, allocations: 0 / 1.275 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.8584, allocations: 0 / 1.275 GB, free: 3.223 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005801/0.859, allocations: 403.1 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.859, allocations: 12.03 kB / 1.276 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.8591, allocations: 16.83 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.8593, allocations: 200.4 kB / 1.276 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.8594, allocations: 12.56 kB / 1.276 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.8594, allocations: 8.375 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.8596, allocations: 103.5 kB / 1.276 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.8596, allocations: 3.938 kB / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.8596, allocations: 7.984 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.8596, allocations: 4 kB / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.504e-05/0.8597, allocations: 43.86 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006818/0.8604, allocations: 476.4 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.024e-05/0.8605, allocations: 37.22 kB / 1.277 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.75e-05/0.8605, allocations: 17.72 kB / 1.277 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.8605, allocations: 3.984 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.8606, allocations: 34.56 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.8606, allocations: 3.938 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002054/0.8608, allocations: 61.55 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.8608, allocations: 81.05 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.8611, allocations: 187.2 kB / 1.277 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.8611, allocations: 25.7 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/0.8612, allocations: 112.3 kB / 1.277 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.167e-05/0.8612, allocations: 7.953 kB / 1.277 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.8612, allocations: 13.72 kB / 1.277 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.8614, allocations: 326.8 kB / 1.277 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/0.8614, allocations: 4 kB / 1.278 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.781e-05/0.8614, allocations: 21.7 kB / 1.278 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.346e-05/0.8615, allocations: 25.72 kB / 1.278 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8615, allocations: 4 kB / 1.278 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.569e-05/0.8616, allocations: 65.53 kB / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.8616, allocations: 4 kB / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.8616, allocations: 4 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.8616, allocations: 0 / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.025e-05/0.8617, allocations: 4 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.8617, allocations: 224 / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.496e-05/0.8617, allocations: 15.83 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.8617, allocations: 8 kB / 1.278 GB, free: 0.6445 MB / 0.9669 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 9.901e-05/0.8618, allocations: 121.8 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.8619, allocations: 7.953 kB / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.8619, allocations: 16.55 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.8619, allocations: 0 / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8619, allocations: 96 / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.8619, allocations: 7.922 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.8624, allocations: 478.9 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.8624, allocations: 4 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.068e-05/0.8624, allocations: 4 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.8624, allocations: 0 / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.8624, allocations: 3.938 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.8624, allocations: 0 / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8624, allocations: 4 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.8625, allocations: 85.95 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.959e-05/0.8626, allocations: 89.05 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.8626, allocations: 3.938 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.107e-05/0.8626, allocations: 3.938 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.8627, allocations: 4 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.8627, allocations: 0 / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001303/0.8628, allocations: 136.3 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8628, allocations: 32 / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001938/0.863, allocations: 19.89 kB / 1.279 GB, free: 15.56 MB / 0.9825 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.0001321/0.8631, allocations: 103.2 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001/0.8632, allocations: 16 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8632, allocations: 0 / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.186e-05/0.8632, allocations: 7.938 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.8634, allocations: 10.03 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.8638, allocations: 198.8 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.8642, allocations: 0.7002 MB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.725e-05/0.8642, allocations: 8.547 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.8643, allocations: 11.44 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8643, allocations: 4 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of Templates: time 0.003288/0.8675, allocations: 0.5175 MB / 1.28 GB, free: 13.93 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.06010702997446]