Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.001921/0.001921, allocations: 118.2 kB / 17.13 MB, free: 5.918 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.002401/0.002401, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.483/1.483, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.565/2.565, allocations: 443.5 MB / 0.7293 GB, free: 14.53 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.89 kB / 1.057 GB, free: 2.012 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3224, allocations: 160.7 MB / 1.214 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003069/0.3254, allocations: 1.486 MB / 1.215 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008752/0.3263, allocations: 447.7 kB / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.087e-05/0.3263, allocations: 0 / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/0.3264, allocations: 7.922 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.662e-05/0.3265, allocations: 7.938 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.3266, allocations: 23.92 kB / 1.216 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.3267, allocations: 55.78 kB / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3268, allocations: 15.97 kB / 1.216 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.44e-05/0.3269, allocations: 15.94 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.327, allocations: 27.91 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.327, allocations: 4 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.327, allocations: 4 kB / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.327, allocations: 7.984 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/0.3271, allocations: 23.88 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.3272, allocations: 51.8 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.3272, allocations: 0 / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3272, allocations: 0 / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3272, allocations: 3.938 kB / 1.216 GB, free: 14.79 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005947/0.3278, allocations: 363.3 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3278, allocations: 12.03 kB / 1.217 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.3279, allocations: 4.938 kB / 1.217 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.328, allocations: 172.3 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3281, allocations: 12.38 kB / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.3281, allocations: 4.375 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.3282, allocations: 57.98 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.3282, allocations: 3.938 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3282, allocations: 0 / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3282, allocations: 4 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.3284, allocations: 23.98 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.3289, allocations: 296.8 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.329, allocations: 54.59 kB / 1.217 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.934e-05/0.329, allocations: 24.95 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.3291, allocations: 3.938 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.3293, allocations: 79.31 kB / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.3293, allocations: 0 / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0002389/0.3295, allocations: 101.6 kB / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.3296, allocations: 59.34 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.71e-05/0.3296, allocations: 109.8 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.3297, allocations: 33.7 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.3297, allocations: 80.14 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.3298, allocations: 23.8 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/0.3298, allocations: 29.7 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.33, allocations: 322.8 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.267e-05/0.33, allocations: 19.98 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.812e-05/0.3301, allocations: 43.42 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.724e-05/0.3302, allocations: 67.31 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3302, allocations: 0 / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001533/0.3303, allocations: 97.56 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3304, allocations: 8.031 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3304, allocations: 0 / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3304, allocations: 4 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.729e-05/0.3305, allocations: 15.92 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3305, allocations: 0 / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.585e-05/0.3305, allocations: 8 kB / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.3305, allocations: 4.062 kB / 1.218 GB, free: 12.44 MB / 0.9669 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 0.0001123/0.3306, allocations: 121.8 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.3307, allocations: 15.95 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.3307, allocations: 7.969 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3307, allocations: 0 / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3307, allocations: 4 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3307, allocations: 384 / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.3312, allocations: 366.2 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3312, allocations: 0 / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-05/0.3312, allocations: 7.984 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3312, allocations: 0 / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.3312, allocations: 8 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.3312, allocations: 11.92 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3312, allocations: 0 / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.3314, allocations: 179.4 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.3315, allocations: 77.11 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.3315, allocations: 4 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-05/0.3316, allocations: 11.92 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.3316, allocations: 4.281 kB / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.3317, allocations: 12 kB / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.928e-05/0.3317, allocations: 87.25 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3317, allocations: 0 / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002311/0.3319, allocations: 16 kB / 1.219 GB, free: 11.42 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: 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.0001103/0.3321, allocations: 95.25 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.3322, allocations: 59.84 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.3322, allocations: 0 / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.247e-05/0.3323, allocations: 24.06 kB / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.3325, allocations: 16.3 kB / 1.219 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.3329, allocations: 171 kB / 1.219 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.3332, allocations: 0.6846 MB / 1.22 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.479e-05/0.3333, allocations: 11.44 kB / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of SimCode: time 3.3e-07/0.3333, allocations: 0 / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of Templates: time 0.002643/0.3359, allocations: 0.8645 MB / 1.221 GB, free: 9.438 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,offTim1.u,offTim1.y,offTim2.u,offTim2.y Variables in the result:offTim1.u,offTim1.y,offTim2.u,offTim2.y,time [Calling sys.exit(0), Time elapsed: 10.352908112108707]