Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.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.001916/0.001916, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.00248/0.00248, allocations: 201.8 kB / 22.17 MB, free: 5.203 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.47/1.47, 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.773/2.773, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 177] 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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 67.89 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8626/0.8647, allocations: 168.7 MB / 1.274 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001817/0.8665, allocations: 0.5943 MB / 1.275 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 4.679e-05/0.8665, allocations: 7.922 kB / 1.275 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.84e-05/0.8665, allocations: 0 / 1.275 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.342e-05/0.8666, allocations: 0 / 1.275 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.414e-06/0.8666, allocations: 0 / 1.275 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.694e-05/0.8666, allocations: 4 kB / 1.275 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.515e-05/0.8667, allocations: 11.92 kB / 1.275 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.417e-05/0.8668, allocations: 4 kB / 1.275 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.171e-05/0.8668, allocations: 0 / 1.275 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.727e-05/0.8668, allocations: 4 kB / 1.275 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.8668, allocations: 0 / 1.275 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.26e-06/0.8668, allocations: 4 kB / 1.275 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.8668, allocations: 0 / 1.275 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.804e-05/0.8668, allocations: 0 / 1.275 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.429e-05/0.8669, allocations: 0 / 1.275 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.8669, allocations: 0 / 1.275 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.624e-06/0.8669, allocations: 0 / 1.275 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.8669, allocations: 3.938 kB / 1.275 GB, free: 3.82 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003434/0.8672, allocations: 315.5 kB / 1.275 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.8673, allocations: 12.03 kB / 1.275 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.8673, allocations: 0.9375 kB / 1.275 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.8674, allocations: 164.4 kB / 1.275 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.8675, allocations: 4.375 kB / 1.275 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-06/0.8675, allocations: 384 / 1.275 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.073e-05/0.8676, allocations: 30.2 kB / 1.275 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.8676, allocations: 192 / 1.275 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.8676, allocations: 3.938 kB / 1.275 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.8676, allocations: 0 / 1.275 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.063e-05/0.8676, allocations: 11.92 kB / 1.275 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.8678, allocations: 152.3 kB / 1.275 GB, free: 3 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.259e-05/0.8678, allocations: 18.58 kB / 1.275 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.431e-05/0.8678, allocations: 8.953 kB / 1.275 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-06/0.8678, allocations: 0 / 1.275 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.8679, allocations: 34.5 kB / 1.275 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.8679, allocations: 0 / 1.275 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001202/0.868, allocations: 41.64 kB / 1.275 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.868, allocations: 55.39 kB / 1.275 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.922e-05/0.8681, allocations: 93.86 kB / 1.276 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.8681, allocations: 25.7 kB / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.8681, allocations: 80.14 kB / 1.276 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.8682, allocations: 0 / 1.276 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.8682, allocations: 13.72 kB / 1.276 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.8683, allocations: 311 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-06/0.8684, allocations: 4 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-06/0.8684, allocations: 3.938 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.476e-05/0.8684, allocations: 12.86 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.8684, allocations: 0 / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.929e-05/0.8684, allocations: 33.69 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.8685, allocations: 8 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.8685, allocations: 0 / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.8685, allocations: 3.938 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.777e-05/0.8685, allocations: 4.094 kB / 1.276 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.8685, allocations: 0 / 1.276 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.717e-06/0.8685, allocations: 0 / 1.276 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.8685, allocations: 4 kB / 1.276 GB, free: 2.176 MB / 0.9669 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 6.914e-05/0.8686, allocations: 105.8 kB / 1.276 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-06/0.8686, allocations: 0 / 1.276 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.428e-05/0.8686, allocations: 7.062 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.8686, allocations: 3.938 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.8686, allocations: 7.938 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.8686, allocations: 4 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.8688, allocations: 153.7 kB / 1.276 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.8688, allocations: 0 / 1.276 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.298e-06/0.8688, allocations: 0 / 1.276 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.8688, allocations: 3.938 kB / 1.276 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.8688, allocations: 3.938 kB / 1.276 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.8688, allocations: 4 kB / 1.276 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8688, allocations: 0 / 1.276 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.993e-05/0.8689, allocations: 61.12 kB / 1.276 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.8689, allocations: 77.11 kB / 1.276 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.8689, allocations: 3.938 kB / 1.276 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.442e-06/0.8689, allocations: 4 kB / 1.276 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-06/0.8689, allocations: 0 / 1.276 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-06/0.8689, allocations: 0 / 1.276 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.662e-05/0.869, allocations: 75.28 kB / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.869, allocations: 0 / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001695/0.8691, allocations: 3.938 kB / 1.277 GB, free: 1.574 MB / 0.9669 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 0.0001151/0.8692, allocations: 103.8 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.405e-05/0.8693, allocations: 4 kB / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.8693, allocations: 0 / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.949e-06/0.8693, allocations: 0 / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.8694, allocations: 4 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000195/0.8696, allocations: 84.86 kB / 1.277 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.87, allocations: 0.669 MB / 1.277 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.591e-05/0.87, allocations: 12.11 kB / 1.277 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.626e-05/0.87, allocations: 7.438 kB / 1.277 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of SimCode: time 2.81e-07/0.87, allocations: 0 / 1.277 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of Templates: time 0.002253/0.8722, allocations: 171.7 kB / 1.278 GB, free: 480 kB / 0.9669 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_11_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.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: 8.578156089875847]