Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.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.001338/0.001338, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001902/0.00324, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001079/0.001079, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001483/0.002562, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9734/0.9734, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09152/1.065, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.866/1.866, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4843/2.35, allocations: 123.3 MB / 0.728 GB, free: 5.801 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.252e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001383/0.001405, allocations: 0.6688 MB / 0.7299 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 1.72e-05/0.001422, allocations: 2.359 kB / 0.7299 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.267e-05/0.001435, allocations: 0 / 0.7299 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.426e-05/0.001459, allocations: 2.156 kB / 0.7299 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.172e-06/0.00146, allocations: 0 / 0.7299 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 1.428e-05/0.001475, allocations: 0 / 0.7299 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.342e-05/0.001518, allocations: 4 kB / 0.7299 GB, free: 3.898 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.531e-05/0.001553, allocations: 0 / 0.7299 GB, free: 3.898 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.364e-05/0.001587, allocations: 4.766 kB / 0.73 GB, free: 3.895 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.5e-05/0.001612, allocations: 5.406 kB / 0.73 GB, free: 3.891 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.001628, allocations: 4.656 kB / 0.73 GB, free: 3.887 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.298e-06/0.001632, allocations: 0 / 0.73 GB, free: 3.887 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.719e-06/0.001642, allocations: 0.875 kB / 0.73 GB, free: 3.887 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.544e-05/0.001657, allocations: 4.531 kB / 0.73 GB, free: 3.883 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 5.08e-05/0.001708, allocations: 1.922 kB / 0.73 GB, free: 3.883 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.258e-05/0.001721, allocations: 0 / 0.73 GB, free: 3.883 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.11e-07/0.001722, allocations: 3.938 kB / 0.73 GB, free: 3.879 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.001733, allocations: 0.5 kB / 0.73 GB, free: 3.879 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001983/0.001932, allocations: 217.6 kB / 0.7302 GB, free: 3.641 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.001962, allocations: 8.031 kB / 0.7302 GB, free: 3.633 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.001986, allocations: 3.031 kB / 0.7302 GB, free: 3.633 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.232e-05/0.002039, allocations: 105.8 kB / 0.7303 GB, free: 3.504 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.002047, allocations: 384 / 0.7303 GB, free: 3.504 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-06/0.002052, allocations: 384 / 0.7303 GB, free: 3.504 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.494e-05/0.002117, allocations: 30.91 kB / 0.7303 GB, free: 3.469 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.002123, allocations: 0.875 kB / 0.7303 GB, free: 3.469 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-06/0.002128, allocations: 1.359 kB / 0.7303 GB, free: 3.469 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.002132, allocations: 6.156 kB / 0.7303 GB, free: 3.465 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.204e-05/0.002144, allocations: 3.938 kB / 0.7303 GB, free: 3.461 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.861e-05/0.002202, allocations: 53.05 kB / 0.7304 GB, free: 3.395 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.802e-05/0.00224, allocations: 26.55 kB / 0.7304 GB, free: 3.359 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.002255, allocations: 5.828 kB / 0.7304 GB, free: 3.352 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-06/0.002262, allocations: 4.062 kB / 0.7304 GB, free: 3.348 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.002279, allocations: 32.62 kB / 0.7304 GB, free: 3.309 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.00228, allocations: 0 / 0.7304 GB, free: 3.309 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 8.702e-05/0.002367, allocations: 43.03 kB / 0.7305 GB, free: 3.262 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.002395, allocations: 51.41 kB / 0.7305 GB, free: 3.199 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.492e-05/0.002419, allocations: 89.86 kB / 0.7306 GB, free: 3.102 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.002428, allocations: 26.89 kB / 0.7307 GB, free: 3.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.771e-05/0.002446, allocations: 84.14 kB / 0.7307 GB, free: 2.984 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.002474, allocations: 0 / 0.7307 GB, free: 2.984 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/0.002496, allocations: 10.22 kB / 0.7307 GB, free: 2.969 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.835e-05/0.002564, allocations: 322.8 kB / 0.731 GB, free: 2.645 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.461e-06/0.00257, allocations: 0.875 kB / 0.731 GB, free: 2.645 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-06/0.002574, allocations: 0.875 kB / 0.7311 GB, free: 2.645 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.113e-05/0.002595, allocations: 8.859 kB / 0.7311 GB, free: 2.633 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.002597, allocations: 0.5625 kB / 0.7311 GB, free: 2.633 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.479e-05/0.002632, allocations: 43.41 kB / 0.7311 GB, free: 2.586 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.002645, allocations: 5.094 kB / 0.7311 GB, free: 2.582 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.002649, allocations: 4 kB / 0.7311 GB, free: 2.578 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.692e-06/0.002656, allocations: 0 / 0.7311 GB, free: 2.578 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.499e-05/0.002711, allocations: 4 kB / 0.7311 GB, free: 2.574 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.002714, allocations: 1.125 kB / 0.7311 GB, free: 2.574 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.594e-06/0.002721, allocations: 0 / 0.7311 GB, free: 2.574 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.002725, allocations: 0 / 0.7311 GB, free: 2.574 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 4.585e-05/0.00277, allocations: 114.8 kB / 0.7312 GB, free: 2.453 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-06/0.002773, allocations: 0 / 0.7312 GB, free: 2.453 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.373e-05/0.002787, allocations: 7.953 kB / 0.7312 GB, free: 2.445 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.002789, allocations: 0.9844 kB / 0.7312 GB, free: 2.445 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.00279, allocations: 0.875 kB / 0.7312 GB, free: 2.445 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.002793, allocations: 0 / 0.7312 GB, free: 2.445 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.076e-05/0.002833, allocations: 65.84 kB / 0.7313 GB, free: 2.363 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.002834, allocations: 0.5 kB / 0.7313 GB, free: 2.363 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.619e-06/0.002839, allocations: 0.75 kB / 0.7313 GB, free: 2.363 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-06/0.002843, allocations: 0 / 0.7313 GB, free: 2.363 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.002845, allocations: 5.031 kB / 0.7313 GB, free: 2.359 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-06/0.002847, allocations: 0 / 0.7313 GB, free: 2.359 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.002848, allocations: 0.7656 kB / 0.7313 GB, free: 2.359 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.002849, allocations: 0.6875 kB / 0.7313 GB, free: 2.359 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.922e-05/0.002898, allocations: 62.78 kB / 0.7314 GB, free: 2.281 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.553e-06/0.002905, allocations: 4 kB / 0.7314 GB, free: 2.277 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.105e-06/0.002908, allocations: 0 / 0.7314 GB, free: 2.277 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-06/0.002917, allocations: 0 / 0.7314 GB, free: 2.277 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.92e-07/0.002918, allocations: 0 / 0.7314 GB, free: 2.277 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.851e-06/0.002923, allocations: 6.844 kB / 0.7314 GB, free: 2.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.002924, allocations: 0 / 0.7314 GB, free: 2.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 8.338e-05/0.003007, allocations: 4 kB / 0.7314 GB, free: 2.266 MB / 0.698 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 (1): * Single equations (assignments): 1 * 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 6.629e-05/0.003073, allocations: 81.16 kB / 0.7315 GB, free: 2.176 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.439e-05/0.003118, allocations: 9.703 kB / 0.7315 GB, free: 2.164 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.003121, allocations: 0.6562 kB / 0.7315 GB, free: 2.164 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.559e-06/0.003126, allocations: 8.797 kB / 0.7315 GB, free: 2.152 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.063e-05/0.003176, allocations: 10.44 kB / 0.7315 GB, free: 2.145 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001526/0.003329, allocations: 85.78 kB / 0.7316 GB, free: 2.035 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.749e-05/0.003357, allocations: 55.34 kB / 0.7316 GB, free: 1.961 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.232e-05/0.003369, allocations: 0 / 0.7316 GB, free: 1.961 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.003396, allocations: 48.56 kB / 0.7317 GB, free: 1.914 MB / 0.698 GB Notification: Performance of SimCode: time 8.71e-07/0.003397, allocations: 0 / 0.7317 GB, free: 1.914 MB / 0.698 GB Notification: Performance of Templates: time 0.001414/0.00481, allocations: 208.5 kB / 0.7319 GB, free: 1.715 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_12_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Time.Examples.ModelTime/Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.ref.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: 4.786715570837259]