Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.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.001549/0.001549, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002093/0.002093, allocations: 211.6 kB / 22.24 MB, free: 5.262 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.254/3.254, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) [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.002028/0.002028, allocations: 72.56 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3497, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002814/0.3525, allocations: 1.482 MB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008975/0.3534, allocations: 455.9 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.991e-05/0.3535, allocations: 0 / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.168e-05/0.3535, allocations: 3.938 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.597e-05/0.3536, allocations: 11.94 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.3538, allocations: 23.91 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.3539, allocations: 47.91 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.354, allocations: 15.98 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.332e-05/0.3541, allocations: 27.86 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.3541, allocations: 11.92 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.3542, allocations: 7.938 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.29e-05/0.3542, allocations: 4 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.3542, allocations: 19.92 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.3543, allocations: 15.92 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.3544, allocations: 48.09 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3544, allocations: 4 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3544, allocations: 0 / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.3544, allocations: 0 / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005283/0.3549, allocations: 286.2 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.355, allocations: 8.031 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.355, allocations: 42.69 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.3551, allocations: 4.938 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.3552, allocations: 114.4 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.3552, allocations: 8.375 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.3552, allocations: 8.375 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.3554, allocations: 53.81 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3554, allocations: 4 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3554, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.3554, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.3555, allocations: 31.91 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.356, allocations: 263.9 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.3561, allocations: 54.59 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.478e-05/0.3561, allocations: 20.94 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.3561, allocations: 8 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.3563, allocations: 67.39 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.3563, allocations: 0 / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0002357/0.3566, allocations: 101.5 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.3566, allocations: 59.41 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.292e-05/0.3567, allocations: 105.8 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.3567, allocations: 29.7 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.3568, allocations: 88.08 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.3568, allocations: 27.78 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.3568, allocations: 25.72 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.357, allocations: 326.8 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.827e-05/0.357, allocations: 16 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.77e-05/0.3571, allocations: 47.36 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.411e-05/0.3572, allocations: 67.36 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3572, allocations: 0 / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001431/0.3573, allocations: 105.7 kB / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3573, allocations: 8 kB / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3573, allocations: 0 / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3573, allocations: 0 / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.413e-05/0.3574, allocations: 15.97 kB / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.3574, allocations: 4 kB / 1.367 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.481e-05/0.3575, allocations: 12.05 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.3575, allocations: 11.94 kB / 1.367 GB, free: 9.719 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.434e-05/0.3576, allocations: 113.8 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.3576, allocations: 7.953 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.3577, allocations: 8.062 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3577, allocations: 3.984 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.3577, allocations: 0 / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.3577, allocations: 0 / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.3581, allocations: 337.5 kB / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.3581, allocations: 0 / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/0.3581, allocations: 7.938 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3581, allocations: 0 / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.3581, allocations: 0 / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3581, allocations: 3.938 kB / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3581, allocations: 4.469 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.3583, allocations: 187.4 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.3583, allocations: 4 kB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.3583, allocations: 0 / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.644e-05/0.3584, allocations: 19.92 kB / 1.368 GB, free: 8.953 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.3585, allocations: 7.984 kB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.3585, allocations: 0 / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.931e-05/0.3585, allocations: 83.28 kB / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3585, allocations: 0 / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002332/0.3588, allocations: 15.95 kB / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005011/0.3593, allocations: 0.7124 MB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.3594, allocations: 51.92 kB / 1.369 GB, free: 8.059 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3594, allocations: 0 / 1.369 GB, free: 8.059 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.751e-05/0.3595, allocations: 31.98 kB / 1.369 GB, free: 8.027 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.3597, allocations: 7.938 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.3611, allocations: 1.374 MB / 1.37 GB, free: 6.551 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.064e-05/0.3612, allocations: 79.61 kB / 1.37 GB, free: 6.453 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.851e-05/0.3613, allocations: 4 kB / 1.37 GB, free: 6.449 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.3613, allocations: 27.36 kB / 1.37 GB, free: 6.422 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.3613, allocations: 4 kB / 1.37 GB, free: 6.418 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02737/0.3887, allocations: 2.334 MB / 1.373 GB, free: 4.23 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.9, allocations: 5.484 kB / 1.373 GB, free: 4.227 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.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: 17.703419351950288]