Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001888/0.001888, allocations: 77.78 kB / 19.76 MB, free: 2.031 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.002232/0.002232, allocations: 162.4 kB / 23.01 MB, free: 4.945 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.461/1.461, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.79/2.79, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0037/0.0037, allocations: 65.94 kB / 0.9819 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.068, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002377/1.07, allocations: 1.493 MB / 1.155 GB, free: 32.28 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0006722/1.071, allocations: 445.2 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/1.071, allocations: 0 / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.087e-05/1.071, allocations: 11.22 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.098e-05/1.071, allocations: 7.062 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/1.071, allocations: 25.72 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.824e-05/1.071, allocations: 51.88 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.842e-05/1.071, allocations: 6.844 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.097e-05/1.072, allocations: 32.23 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.863e-05/1.072, allocations: 17.06 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/1.072, allocations: 5.75 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/1.072, allocations: 3 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.297e-05/1.072, allocations: 15.14 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/1.072, allocations: 21.22 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.07e-05/1.072, allocations: 41.05 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.072, allocations: 0 / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.253e-06/1.072, allocations: 0 / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.959e-06/1.072, allocations: 0 / 1.156 GB, free: 31.87 MB / 1.076 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.0004081/1.072, allocations: 287.4 kB / 1.156 GB, free: 31.6 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/1.072, allocations: 9.094 kB / 1.156 GB, free: 31.6 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/1.072, allocations: 7.641 kB / 1.156 GB, free: 31.6 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.01e-05/1.072, allocations: 109.2 kB / 1.156 GB, free: 31.47 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/1.072, allocations: 3.156 kB / 1.156 GB, free: 31.47 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/1.072, allocations: 10.75 kB / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.361e-05/1.072, allocations: 62.84 kB / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/1.072, allocations: 0 / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/1.072, allocations: 1.844 kB / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/1.072, allocations: 2.25 kB / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.32e-05/1.073, allocations: 22.17 kB / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/1.073, allocations: 249.4 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.71e-05/1.073, allocations: 49.09 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.646e-05/1.073, allocations: 22.81 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/1.073, allocations: 6.812 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/1.073, allocations: 73.59 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/1.073, allocations: 3.938 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0001999/1.073, allocations: 105.5 kB / 1.157 GB, free: 31.01 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/1.073, allocations: 61.78 kB / 1.157 GB, free: 30.94 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/1.073, allocations: 99.61 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/1.073, allocations: 28.98 kB / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.52e-05/1.074, allocations: 90.97 kB / 1.157 GB, free: 30.72 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/1.074, allocations: 14.84 kB / 1.157 GB, free: 30.71 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/1.074, allocations: 33.7 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.753e-05/1.074, allocations: 320.9 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.263e-05/1.074, allocations: 16.53 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.052e-05/1.074, allocations: 41.52 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.815e-05/1.074, allocations: 69.67 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.074, allocations: 2.875 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001129/1.074, allocations: 99.86 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/1.074, allocations: 6.938 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.074, allocations: 2.594 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.074, allocations: 0 / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.035e-05/1.074, allocations: 15.61 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.074, allocations: 6.719 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.398e-05/1.074, allocations: 16.83 kB / 1.158 GB, free: 30.19 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/1.074, allocations: 6.562 kB / 1.158 GB, free: 30.18 MB / 1.076 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 6.315e-05/1.074, allocations: 126.4 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/1.074, allocations: 3 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/1.074, allocations: 8.125 kB / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/1.074, allocations: 0 / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/1.074, allocations: 0 / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.074, allocations: 10.17 kB / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/1.074, allocations: 299.1 kB / 1.158 GB, free: 29.78 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.074, allocations: 0 / 1.158 GB, free: 29.78 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.402e-05/1.074, allocations: 6.688 kB / 1.158 GB, free: 29.78 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/1.074, allocations: 0 / 1.158 GB, free: 29.78 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/1.074, allocations: 10.16 kB / 1.158 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.074, allocations: 480 / 1.158 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/1.074, allocations: 0 / 1.158 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/1.075, allocations: 187 kB / 1.158 GB, free: 29.62 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-06/1.075, allocations: 6.891 kB / 1.158 GB, free: 29.61 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/1.075, allocations: 0 / 1.158 GB, free: 29.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.233e-05/1.075, allocations: 10.52 kB / 1.158 GB, free: 29.61 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/1.075, allocations: 12.83 kB / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/1.075, allocations: 10.5 kB / 1.159 GB, free: 29.6 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.226e-05/1.075, allocations: 81.33 kB / 1.159 GB, free: 29.52 MB / 1.076 GB Notification: Performance of sort global known variables: time 6.1e-08/1.075, allocations: 0 / 1.159 GB, free: 29.52 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002293/1.075, allocations: 17.22 kB / 1.159 GB, free: 29.52 MB / 1.076 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.226e-05/1.075, allocations: 97.47 kB / 1.159 GB, free: 29.43 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000114/1.075, allocations: 54.47 kB / 1.159 GB, free: 29.41 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.075, allocations: 4.062 kB / 1.159 GB, free: 29.41 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.244e-05/1.075, allocations: 21.81 kB / 1.159 GB, free: 29.4 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/1.075, allocations: 24.2 kB / 1.159 GB, free: 29.39 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/1.076, allocations: 158.7 kB / 1.159 GB, free: 29.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.334e-05/1.076, allocations: 81.47 kB / 1.159 GB, free: 29.19 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.255e-05/1.076, allocations: 2.781 kB / 1.159 GB, free: 29.19 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/1.076, allocations: 14.06 kB / 1.159 GB, free: 29.18 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/1.076, allocations: 4 kB / 1.159 GB, free: 29.18 MB / 1.076 GB Notification: Performance of Templates: time 0.002971/1.079, allocations: 0.7947 MB / 1.16 GB, free: 29.07 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.930829389952123]