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.001103/0.001103, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008945/0.0008945, allocations: 178.2 kB / 23.21 MB, free: 1.352 MB / 18.57 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.888/0.888, allocations: 177.2 MB / 203.5 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] 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 1.767/1.767, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.031e-05, allocations: 9.312 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001634/0.001654, allocations: 1.478 MB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0005276/0.002182, allocations: 463.5 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.002214, allocations: 0 / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.002238, allocations: 0 / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.165e-05/0.00231, allocations: 15.86 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.002438, allocations: 19.92 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.383e-05/0.002511, allocations: 55.83 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.103e-05/0.002602, allocations: 8 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.7e-05/0.002659, allocations: 27.97 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.304e-05/0.002713, allocations: 19.91 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.002734, allocations: 4 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.235e-06/0.002742, allocations: 8 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.002761, allocations: 11.98 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.002797, allocations: 11.94 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.951e-05/0.002886, allocations: 43.86 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.002888, allocations: 3.938 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.71e-07/0.002889, allocations: 0 / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.002892, allocations: 0 / 1.003 GB, free: 10.88 MB / 0.9636 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.0003605/0.003253, allocations: 286.3 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.003285, allocations: 12.69 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.003315, allocations: 8.891 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.204e-05/0.003397, allocations: 117.7 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.003406, allocations: 384 / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.003416, allocations: 8.375 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.003732, allocations: 58.25 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.003739, allocations: 192 / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.003754, allocations: 4.359 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.00376, allocations: 7.938 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.902e-05/0.003809, allocations: 31.92 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.00412, allocations: 232.5 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.126e-05/0.004201, allocations: 58.59 kB / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.064e-05/0.004232, allocations: 28.81 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.004241, allocations: 4 kB / 1.004 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.004343, allocations: 67.39 kB / 1.004 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 2.124e-06/0.004345, allocations: 3.984 kB / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.000171/0.004516, allocations: 105.6 kB / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.004547, allocations: 55.41 kB / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.228e-05/0.004599, allocations: 105.8 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.004611, allocations: 33.7 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.004643, allocations: 84.14 kB / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.004663, allocations: 27.78 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.004693, allocations: 25.72 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.651e-05/0.00477, allocations: 318.8 kB / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.436e-05/0.004794, allocations: 16 kB / 1.005 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.857e-05/0.004833, allocations: 51.36 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.116e-05/0.004894, allocations: 67.36 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.004896, allocations: 0 / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.051e-05/0.004987, allocations: 97.5 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.005, allocations: 9.562 kB / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.005004, allocations: 4.031 kB / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.005014, allocations: 0 / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.325e-05/0.005067, allocations: 11.94 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.005073, allocations: 4 kB / 1.005 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.005107, allocations: 7.984 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.005113, allocations: 8 kB / 1.005 GB, free: 8.762 MB / 0.9636 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 5.554e-05/0.005169, allocations: 113.8 kB / 1.005 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.525e-06/0.005176, allocations: 11.89 kB / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.005197, allocations: 8.125 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.005198, allocations: 4 kB / 1.005 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.005203, allocations: 384 / 1.005 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.005206, allocations: 3.984 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.005432, allocations: 302 kB / 1.005 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.005434, allocations: 4.062 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.277e-05/0.005447, allocations: 8 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.005449, allocations: 4 kB / 1.005 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.005456, allocations: 3.984 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.005457, allocations: 0 / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.005458, allocations: 0 / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.492e-05/0.005553, allocations: 183.7 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-06/0.005562, allocations: 19.88 kB / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-06/0.005571, allocations: 0 / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.913e-05/0.00561, allocations: 4 kB / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.005649, allocations: 11.97 kB / 1.005 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/0.005655, allocations: 8 kB / 1.005 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.595e-05/0.005681, allocations: 83.27 kB / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005681, allocations: 0 / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001501/0.005831, allocations: 16 kB / 1.006 GB, free: 7.922 MB / 0.9636 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 6.343e-05/0.005895, allocations: 95.25 kB / 1.006 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.88e-05/0.005993, allocations: 63.78 kB / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.005995, allocations: 0 / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-05/0.006027, allocations: 20 kB / 1.006 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.00621, allocations: 15.92 kB / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.006476, allocations: 178.8 kB / 1.006 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.257e-05/0.006519, allocations: 75.28 kB / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.006545, allocations: 24.5 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of SimCode: time 2.91e-07/0.006545, allocations: 0 / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of Templates: time 0.001447/0.007992, allocations: 0.8887 MB / 1.007 GB, free: 6.508 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins/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: 6.3982000621035695]