Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.0008487/0.0008487, 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.0008247/0.0008247, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8505/0.8505, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.652/1.652, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] 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.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.065e-05, allocations: 5.094 kB / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002068/0.002098, allocations: 1.499 MB / 0.9532 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007267/0.002825, allocations: 459.4 kB / 0.9536 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.383e-05/0.002869, allocations: 0 / 0.9536 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.0029, allocations: 3.938 kB / 0.9536 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.228e-05/0.002982, allocations: 11.91 kB / 0.9536 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.003133, allocations: 23.86 kB / 0.9536 GB, free: 1 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.735e-05/0.00321, allocations: 51.84 kB / 0.9537 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.003313, allocations: 11.98 kB / 0.9537 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.119e-05/0.003375, allocations: 27.97 kB / 0.9537 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.703e-05/0.003432, allocations: 15.92 kB / 0.9537 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.003457, allocations: 8 kB / 0.9537 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-06/0.003465, allocations: 4 kB / 0.9538 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.003487, allocations: 15.97 kB / 0.9538 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.003522, allocations: 19.92 kB / 0.9538 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.666e-05/0.003619, allocations: 47.81 kB / 0.9538 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003621, allocations: 0 / 0.9538 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.614e-06/0.003623, allocations: 0 / 0.9538 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.003627, allocations: 0 / 0.9538 GB, free: 0.8008 MB / 0.9011 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.0004289/0.004056, allocations: 282.2 kB / 0.9541 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.00409, allocations: 16.03 kB / 0.9541 GB, free: 492 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.004121, allocations: 8.875 kB / 0.9541 GB, free: 484 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.228e-05/0.004214, allocations: 121.6 kB / 0.9542 GB, free: 336 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.004227, allocations: 8.375 kB / 0.9542 GB, free: 328 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.004238, allocations: 4.375 kB / 0.9543 GB, free: 324 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.137e-05/0.004329, allocations: 54.23 kB / 0.9543 GB, free: 264 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.004337, allocations: 192 / 0.9543 GB, free: 264 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.004346, allocations: 4.375 kB / 0.9543 GB, free: 260 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.004351, allocations: 3.938 kB / 0.9543 GB, free: 256 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.2e-05/0.004403, allocations: 27.92 kB / 0.9543 GB, free: 228 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.004777, allocations: 228.6 kB / 0.9546 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.036e-05/0.004868, allocations: 54.53 kB / 0.9546 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.004902, allocations: 32.86 kB / 0.9546 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.004912, allocations: 0 / 0.9546 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.005058, allocations: 75.33 kB / 0.9547 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 9.01e-07/0.005059, allocations: 0 / 0.9547 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0001937/0.005253, allocations: 105.6 kB / 0.9548 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.005288, allocations: 51.78 kB / 0.9549 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.687e-05/0.005345, allocations: 105.8 kB / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.005357, allocations: 33.7 kB / 0.955 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.005394, allocations: 88.09 kB / 0.9551 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.005416, allocations: 31.72 kB / 0.9551 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.005579, allocations: 29.66 kB / 0.9551 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.005651, allocations: 318.8 kB / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.005676, allocations: 16 kB / 0.9555 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.818e-05/0.005714, allocations: 43.42 kB / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.283e-05/0.005777, allocations: 67.36 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.005779, allocations: 0 / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.373e-05/0.005872, allocations: 101.5 kB / 0.9557 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.005885, allocations: 7.938 kB / 0.9557 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.00589, allocations: 0 / 0.9557 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.005905, allocations: 4 kB / 0.9557 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.005979, allocations: 11.94 kB / 0.9557 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.005983, allocations: 0 / 0.9557 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.21e-05/0.006026, allocations: 15.94 kB / 0.9557 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.006032, allocations: 4 kB / 0.9557 GB, free: 14.69 MB / 0.9167 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.122e-05/0.006093, allocations: 113.8 kB / 0.9558 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-06/0.006103, allocations: 7.938 kB / 0.9558 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.006123, allocations: 12.22 kB / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.006126, allocations: 8 kB / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.00613, allocations: 0 / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.006134, allocations: 4.266 kB / 0.9558 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.006374, allocations: 302.1 kB / 0.9561 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.006375, allocations: 0 / 0.9561 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.231e-05/0.006387, allocations: 7.938 kB / 0.9561 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.006388, allocations: 0 / 0.9561 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.006396, allocations: 7.969 kB / 0.9561 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.006397, allocations: 0 / 0.9561 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.006399, allocations: 8 kB / 0.9562 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.006501, allocations: 183.5 kB / 0.9563 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-06/0.006508, allocations: 8.016 kB / 0.9563 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.006517, allocations: 7.938 kB / 0.9563 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.047e-05/0.006558, allocations: 4 kB / 0.9563 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.006598, allocations: 11.98 kB / 0.9564 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.006602, allocations: 0 / 0.9564 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.649e-05/0.006628, allocations: 83.27 kB / 0.9564 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006628, allocations: 0 / 0.9564 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001515/0.00678, allocations: 16 kB / 0.9565 GB, free: 13.85 MB / 0.9167 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 8.051e-05/0.00686, allocations: 99.25 kB / 0.9565 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.006963, allocations: 55.91 kB / 0.9566 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.006965, allocations: 0 / 0.9566 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.784e-05/0.007002, allocations: 23.94 kB / 0.9566 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.007191, allocations: 20.64 kB / 0.9566 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.007424, allocations: 170.5 kB / 0.9568 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.032e-05/0.007464, allocations: 67.34 kB / 0.9569 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.00749, allocations: 20.5 kB / 0.9569 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of SimCode: time 3.41e-07/0.00749, allocations: 0 / 0.9569 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of Templates: time 0.001482/0.008972, allocations: 0.8901 MB / 0.9578 GB, free: 12.46 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.345043974928558]