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.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.001955/0.001955, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002532/0.002532, allocations: 163.6 kB / 22.46 MB, free: 5.375 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.486/1.486, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.767/2.767, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.683e-06/1.683e-06, allocations: 0 / 0.9509 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.504e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001671/0.001696, allocations: 0.5964 MB / 0.9515 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 5.916e-05/0.001756, allocations: 7.938 kB / 0.9515 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.857e-05/0.001774, allocations: 0 / 0.9515 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.0018, allocations: 0 / 0.9515 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.54e-06/0.001806, allocations: 0 / 0.9515 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.266e-05/0.001839, allocations: 4 kB / 0.9515 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.731e-05/0.001886, allocations: 0 / 0.9515 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.089e-05/0.001937, allocations: 4 kB / 0.9515 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.791e-05/0.001965, allocations: 0 / 0.9515 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.472e-05/0.001989, allocations: 7.969 kB / 0.9515 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.002005, allocations: 0 / 0.9515 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.745e-06/0.002008, allocations: 4 kB / 0.9515 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.002019, allocations: 0 / 0.9515 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.5e-05/0.002034, allocations: 0 / 0.9515 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 4.991e-05/0.002083, allocations: 3.938 kB / 0.9515 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.002088, allocations: 4 kB / 0.9515 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.91e-07/0.002089, allocations: 0 / 0.9515 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.002098, allocations: 3.938 kB / 0.9515 GB, free: 10.98 MB / 0.8575 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.000278/0.002376, allocations: 234.5 kB / 0.9518 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.00241, allocations: 8.031 kB / 0.9518 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.403e-05/0.002434, allocations: 4.938 kB / 0.9518 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.912e-05/0.002523, allocations: 105.8 kB / 0.9519 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.002534, allocations: 384 / 0.9519 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.002545, allocations: 384 / 0.9519 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.995e-05/0.002635, allocations: 34.2 kB / 0.9519 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.002643, allocations: 192 / 0.9519 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.00265, allocations: 384 / 0.9519 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.002653, allocations: 384 / 0.9519 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.188e-05/0.002675, allocations: 11.94 kB / 0.9519 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/0.00279, allocations: 101.3 kB / 0.952 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.427e-05/0.002834, allocations: 14.58 kB / 0.952 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.103e-05/0.002855, allocations: 8.953 kB / 0.952 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.00287, allocations: 7.922 kB / 0.9521 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.002895, allocations: 34.55 kB / 0.9521 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.002896, allocations: 0 / 0.9521 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001175/0.003013, allocations: 33.7 kB / 0.9521 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.003052, allocations: 55.41 kB / 0.9522 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.6e-05/0.003098, allocations: 89.98 kB / 0.9523 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.003112, allocations: 29.7 kB / 0.9523 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.003149, allocations: 80.14 kB / 0.9524 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.003179, allocations: 3.953 kB / 0.9524 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.003208, allocations: 13.72 kB / 0.9524 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.003347, allocations: 318.8 kB / 0.9527 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-06/0.003355, allocations: 0 / 0.9527 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-06/0.003362, allocations: 3.938 kB / 0.9527 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.524e-05/0.003387, allocations: 12.84 kB / 0.9527 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.003389, allocations: 0 / 0.9527 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.3e-05/0.003442, allocations: 33.77 kB / 0.9527 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.003456, allocations: 8 kB / 0.9527 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.003459, allocations: 3.938 kB / 0.9527 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.003471, allocations: 0 / 0.9527 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.345e-05/0.003515, allocations: 0 / 0.9527 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.003523, allocations: 4 kB / 0.9527 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.125e-05/0.003534, allocations: 3.938 kB / 0.9527 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.003539, allocations: 4 kB / 0.9528 GB, free: 9.57 MB / 0.8575 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 7.03e-05/0.00361, allocations: 109.8 kB / 0.9529 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.003619, allocations: 3.984 kB / 0.9529 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.286e-05/0.003632, allocations: 10.97 kB / 0.9529 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.003633, allocations: 4 kB / 0.9529 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.003636, allocations: 3.938 kB / 0.9529 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.003638, allocations: 0 / 0.9529 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.795e-05/0.003716, allocations: 97.27 kB / 0.953 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.003717, allocations: 0 / 0.953 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.228e-05/0.003729, allocations: 4 kB / 0.953 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.00373, allocations: 0 / 0.953 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.003735, allocations: 0 / 0.953 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.003736, allocations: 0 / 0.953 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.003737, allocations: 0 / 0.953 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.234e-05/0.003809, allocations: 69.06 kB / 0.953 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-06/0.003812, allocations: 0 / 0.953 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-06/0.00382, allocations: 0 / 0.953 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-06/0.003827, allocations: 0 / 0.953 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.003842, allocations: 4 kB / 0.953 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-06/0.003844, allocations: 0 / 0.953 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.418e-05/0.003878, allocations: 75.28 kB / 0.9531 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.003878, allocations: 3.938 kB / 0.9531 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000188/0.004066, allocations: 0 / 0.9531 GB, free: 9.137 MB / 0.8575 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.0001065/0.004172, allocations: 103.2 kB / 0.9532 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.352e-05/0.004236, allocations: 4 kB / 0.9532 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.004238, allocations: 0 / 0.9532 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.254e-06/0.004245, allocations: 4 kB / 0.9532 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.004368, allocations: 6.031 kB / 0.9532 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001865/0.004555, allocations: 81 kB / 0.9533 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.937e-05/0.004604, allocations: 59.34 kB / 0.9534 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.638e-06/0.004614, allocations: 0 / 0.9534 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.004631, allocations: 12.44 kB / 0.9534 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.004631, allocations: 4.125 kB / 0.9534 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of Templates: time 0.00215/0.006781, allocations: 183.7 kB / 0.9536 GB, free: 8.641 MB / 0.8575 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.667552165687084]