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.00171/0.00171, allocations: 79.67 kB / 19.18 MB, free: 2.52 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.00201/0.00201, allocations: 166.9 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.523/1.523, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.862/2.862, allocations: 389 MB / 0.633 GB, free: 0.9727 MB / 0.5919 GB " [Timeout remaining time 176] 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.633e-06/1.633e-06, allocations: 0 / 1 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.386e-05/3.55e-05, allocations: 8.953 kB / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002972/0.003008, allocations: 1.488 MB / 1.002 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0008895/0.003897, allocations: 454.8 kB / 1.002 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.883e-05/0.003946, allocations: 0 / 1.002 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.726e-05/0.003983, allocations: 3.938 kB / 1.002 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.206e-05/0.004065, allocations: 7.969 kB / 1.002 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.004216, allocations: 19.92 kB / 1.002 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.004319, allocations: 59.77 kB / 1.002 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.004428, allocations: 8 kB / 1.002 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.523e-05/0.004503, allocations: 27.97 kB / 1.002 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.756e-05/0.004571, allocations: 19.91 kB / 1.002 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.004604, allocations: 8 kB / 1.002 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.385e-05/0.004617, allocations: 8 kB / 1.002 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.00464, allocations: 7.984 kB / 1.002 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.751e-05/0.004688, allocations: 23.86 kB / 1.002 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.00481, allocations: 39.88 kB / 1.002 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.004813, allocations: 0 / 1.002 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004814, allocations: 0 / 1.002 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.004824, allocations: 0 / 1.002 GB, free: 5.141 MB / 0.9512 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.0005359/0.00536, allocations: 286.3 kB / 1.002 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.0054, allocations: 8.031 kB / 1.002 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.005436, allocations: 16.88 kB / 1.002 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.005575, allocations: 109.7 kB / 1.003 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-06/0.005583, allocations: 4.375 kB / 1.003 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.005602, allocations: 8.375 kB / 1.003 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.005725, allocations: 66.11 kB / 1.003 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.005735, allocations: 192 / 1.003 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.005744, allocations: 384 / 1.003 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.005752, allocations: 3.938 kB / 1.003 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.821e-05/0.00582, allocations: 27.98 kB / 1.003 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.006298, allocations: 236.4 kB / 1.003 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.006412, allocations: 50.56 kB / 1.003 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.819e-05/0.00647, allocations: 28.88 kB / 1.003 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.006482, allocations: 0 / 1.003 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.006632, allocations: 75.42 kB / 1.003 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.006634, allocations: 4 kB / 1.003 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0002492/0.006883, allocations: 105.6 kB / 1.003 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.006938, allocations: 51.41 kB / 1.003 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.168e-05/0.00703, allocations: 105.8 kB / 1.003 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.007053, allocations: 29.7 kB / 1.003 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.007117, allocations: 88.14 kB / 1.003 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.007148, allocations: 27.78 kB / 1.003 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.007195, allocations: 25.72 kB / 1.003 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.007352, allocations: 314.8 kB / 1.004 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.071e-05/0.007393, allocations: 23.98 kB / 1.004 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.002e-05/0.007463, allocations: 43.38 kB / 1.004 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.007568, allocations: 67.36 kB / 1.004 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.00757, allocations: 4 kB / 1.004 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001513/0.007721, allocations: 105.6 kB / 1.004 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.007736, allocations: 8.031 kB / 1.004 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.007741, allocations: 4.312 kB / 1.004 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.007754, allocations: 4 kB / 1.004 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.871e-05/0.007822, allocations: 8 kB / 1.004 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.007828, allocations: 0 / 1.004 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.775e-05/0.007905, allocations: 11.92 kB / 1.004 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.007913, allocations: 8 kB / 1.004 GB, free: 3.023 MB / 0.9512 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 9.467e-05/0.008008, allocations: 121.8 kB / 1.004 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.008022, allocations: 7.891 kB / 1.004 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.008053, allocations: 12.11 kB / 1.004 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.008055, allocations: 8 kB / 1.004 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.008058, allocations: 0 / 1.004 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.008061, allocations: 0 / 1.004 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.00848, allocations: 302 kB / 1.004 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.008482, allocations: 0 / 1.004 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.914e-05/0.008511, allocations: 11.98 kB / 1.005 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.008512, allocations: 0 / 1.005 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.00852, allocations: 0 / 1.005 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.008524, allocations: 4 kB / 1.005 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.008528, allocations: 4.062 kB / 1.005 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.008723, allocations: 183.4 kB / 1.005 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.008738, allocations: 11.95 kB / 1.005 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.00875, allocations: 0 / 1.005 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/0.008833, allocations: 7.984 kB / 1.005 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.008884, allocations: 7.984 kB / 1.005 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.008891, allocations: 4 kB / 1.005 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.727e-05/0.008939, allocations: 79.28 kB / 1.005 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.008939, allocations: 0 / 1.005 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002245/0.009163, allocations: 16 kB / 1.005 GB, free: 2.195 MB / 0.9512 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 0.0001397/0.009303, allocations: 107.2 kB / 1.005 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.009443, allocations: 52.09 kB / 1.005 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.009444, allocations: 0 / 1.005 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.923e-05/0.009494, allocations: 23.94 kB / 1.005 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.009767, allocations: 23.86 kB / 1.005 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.01021, allocations: 156.8 kB / 1.005 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.497e-05/0.01028, allocations: 75.33 kB / 1.005 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.451e-05/0.01031, allocations: 8.484 kB / 1.005 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.01034, allocations: 20.44 kB / 1.005 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of SimCode: time 3.61e-07/0.01034, allocations: 0 / 1.005 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of Templates: time 0.003809/0.01415, allocations: 0.815 MB / 1.006 GB, free: 0.8867 MB / 0.9512 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: 8.32702211663127]