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.000767/0.000767, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.001819, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007278/0.0007278, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009978/0.001726, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9747/0.9747, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09438/1.069, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.803/1.803, allocations: 378.4 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.476/2.279, allocations: 123.3 MB / 0.7283 GB, free: 5.754 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.273e-06/1.273e-06, allocations: 0 / 0.7296 GB, free: 4.48 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.099e-05, allocations: 6.312 kB / 0.7296 GB, free: 4.473 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001369/0.00139, allocations: 0.6674 MB / 0.7303 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 1.807e-05/0.001408, allocations: 0 / 0.7303 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.337e-05/0.001421, allocations: 0 / 0.7303 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.052e-05/0.001442, allocations: 0 / 0.7303 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.204e-06/0.001444, allocations: 5.031 kB / 0.7303 GB, free: 3.832 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 1.713e-05/0.001461, allocations: 4 kB / 0.7303 GB, free: 3.828 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.518e-05/0.001506, allocations: 3.984 kB / 0.7303 GB, free: 3.824 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.001547, allocations: 8 kB / 0.7303 GB, free: 3.816 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.419e-05/0.001581, allocations: 5.141 kB / 0.7303 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.404e-05/0.001605, allocations: 2.531 kB / 0.7303 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.001619, allocations: 0 / 0.7303 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.677e-06/0.001623, allocations: 0 / 0.7303 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.001639, allocations: 4.531 kB / 0.7303 GB, free: 3.809 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.438e-05/0.001653, allocations: 0.9844 kB / 0.7303 GB, free: 3.809 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 5.134e-05/0.001705, allocations: 1.312 kB / 0.7303 GB, free: 3.809 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.222e-05/0.001717, allocations: 0.7656 kB / 0.7303 GB, free: 3.809 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.72e-07/0.001718, allocations: 0 / 0.7303 GB, free: 3.809 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.001727, allocations: 1.219 kB / 0.7303 GB, free: 3.809 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.0002285/0.001956, allocations: 208.8 kB / 0.7305 GB, free: 3.578 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.001991, allocations: 12.03 kB / 0.7305 GB, free: 3.566 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.002018, allocations: 0.9375 kB / 0.7305 GB, free: 3.566 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.657e-05/0.002074, allocations: 102.3 kB / 0.7306 GB, free: 3.441 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.002083, allocations: 2.609 kB / 0.7306 GB, free: 3.441 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.002094, allocations: 4.375 kB / 0.7306 GB, free: 3.438 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.843e-05/0.002172, allocations: 30.27 kB / 0.7307 GB, free: 3.402 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.002179, allocations: 0.7188 kB / 0.7307 GB, free: 3.402 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-06/0.002186, allocations: 4.312 kB / 0.7307 GB, free: 3.398 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.002191, allocations: 1.719 kB / 0.7307 GB, free: 3.398 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.014e-05/0.002201, allocations: 7.938 kB / 0.7307 GB, free: 3.391 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.744e-05/0.002268, allocations: 58.02 kB / 0.7307 GB, free: 3.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.467e-05/0.002303, allocations: 19.27 kB / 0.7307 GB, free: 3.293 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.002321, allocations: 5.984 kB / 0.7307 GB, free: 3.285 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.701e-06/0.002327, allocations: 0 / 0.7307 GB, free: 3.285 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.002348, allocations: 34.62 kB / 0.7308 GB, free: 3.242 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.002349, allocations: 0.9688 kB / 0.7308 GB, free: 3.242 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 8.707e-05/0.002436, allocations: 33.64 kB / 0.7308 GB, free: 3.203 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.002466, allocations: 52.19 kB / 0.7309 GB, free: 3.141 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.956e-05/0.002495, allocations: 89.86 kB / 0.7309 GB, free: 3.043 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.002505, allocations: 26.98 kB / 0.731 GB, free: 3.012 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.996e-05/0.002525, allocations: 81.05 kB / 0.731 GB, free: 2.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.002558, allocations: 3.984 kB / 0.7311 GB, free: 2.926 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.002583, allocations: 21.7 kB / 0.7311 GB, free: 2.898 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.469e-05/0.002668, allocations: 315.6 kB / 0.7314 GB, free: 2.582 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.683e-06/0.002675, allocations: 0 / 0.7314 GB, free: 2.582 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-06/0.002681, allocations: 6.062 kB / 0.7314 GB, free: 2.578 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.189e-05/0.002703, allocations: 8.797 kB / 0.7314 GB, free: 2.566 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.002705, allocations: 0 / 0.7314 GB, free: 2.566 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.957e-05/0.002745, allocations: 35.39 kB / 0.7314 GB, free: 2.527 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.002758, allocations: 11.98 kB / 0.7314 GB, free: 2.516 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.002763, allocations: 0 / 0.7314 GB, free: 2.516 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.567e-06/0.002772, allocations: 0.7656 kB / 0.7314 GB, free: 2.516 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.002833, allocations: 1.594 kB / 0.7314 GB, free: 2.516 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.002838, allocations: 4 kB / 0.7314 GB, free: 2.512 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.685e-06/0.002846, allocations: 0 / 0.7314 GB, free: 2.512 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-06/0.002849, allocations: 0 / 0.7314 GB, free: 2.512 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.92e-05/0.002898, allocations: 110.4 kB / 0.7315 GB, free: 2.395 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-06/0.002902, allocations: 1.312 kB / 0.7315 GB, free: 2.395 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.825e-05/0.00292, allocations: 7.766 kB / 0.7316 GB, free: 2.387 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.002922, allocations: 0 / 0.7316 GB, free: 2.387 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.002923, allocations: 0 / 0.7316 GB, free: 2.387 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.002926, allocations: 1.344 kB / 0.7316 GB, free: 2.387 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.557e-05/0.002971, allocations: 65.83 kB / 0.7316 GB, free: 2.305 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.002973, allocations: 0 / 0.7316 GB, free: 2.305 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.147e-06/0.002982, allocations: 9.188 kB / 0.7316 GB, free: 2.297 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-06/0.002986, allocations: 0.9844 kB / 0.7316 GB, free: 2.297 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.002988, allocations: 0 / 0.7316 GB, free: 2.297 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-06/0.002991, allocations: 0 / 0.7316 GB, free: 2.297 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.002992, allocations: 1.25 kB / 0.7316 GB, free: 2.297 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.002993, allocations: 4 kB / 0.7316 GB, free: 2.293 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.639e-05/0.003049, allocations: 65.41 kB / 0.7317 GB, free: 2.215 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-06/0.003057, allocations: 3.984 kB / 0.7317 GB, free: 2.211 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.926e-06/0.00306, allocations: 0.5312 kB / 0.7317 GB, free: 2.211 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.003071, allocations: 4 kB / 0.7317 GB, free: 2.207 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.72e-07/0.003072, allocations: 2.328 kB / 0.7317 GB, free: 2.207 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.134e-06/0.003079, allocations: 4.859 kB / 0.7317 GB, free: 2.199 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.003079, allocations: 1.031 kB / 0.7317 GB, free: 2.199 MB / 0.698 GB Notification: Performance of remove unused functions: time 8.321e-05/0.003162, allocations: 0 / 0.7317 GB, free: 2.199 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.814e-05/0.00323, allocations: 77.64 kB / 0.7318 GB, free: 2.113 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.34e-05/0.003284, allocations: 8.797 kB / 0.7318 GB, free: 2.102 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.003292, allocations: 8.641 kB / 0.7318 GB, free: 2.094 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.28e-05/0.003305, allocations: 10.47 kB / 0.7318 GB, free: 2.082 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.634e-05/0.003371, allocations: 9.656 kB / 0.7318 GB, free: 2.074 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001632/0.003535, allocations: 83.05 kB / 0.7319 GB, free: 1.965 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.633e-05/0.003561, allocations: 57.44 kB / 0.732 GB, free: 1.891 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.293e-05/0.003574, allocations: 0 / 0.732 GB, free: 1.891 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.003606, allocations: 51.38 kB / 0.732 GB, free: 1.84 MB / 0.698 GB Notification: Performance of SimCode: time 7.21e-07/0.003607, allocations: 0.9844 kB / 0.732 GB, free: 1.84 MB / 0.698 GB Notification: Performance of Templates: time 0.001586/0.005193, allocations: 203.5 kB / 0.7322 GB, free: 1.641 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7629267033189535]