Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 112.8 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001196, allocations: 189 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.131/2.131, allocations: 390.2 MB / 0.665 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.22 kB / 0.8127 GB, free: 33.3 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2444, allocations: 140.4 MB / 0.9498 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002815/0.2472, allocations: 1.554 MB / 0.9513 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006293/0.2479, allocations: 431 kB / 0.9517 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.2479, allocations: 0 / 0.9517 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.248, allocations: 8 kB / 0.9517 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.056e-05/0.2481, allocations: 7.922 kB / 0.9517 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001261/0.2482, allocations: 19.98 kB / 0.9517 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.253e-05/0.2483, allocations: 51.84 kB / 0.9518 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.967e-05/0.2484, allocations: 15.97 kB / 0.9518 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.145e-05/0.2484, allocations: 15.94 kB / 0.9518 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.093e-05/0.2485, allocations: 27.91 kB / 0.9518 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.2485, allocations: 4 kB / 0.9518 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.2485, allocations: 4 kB / 0.9518 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.2486, allocations: 11.94 kB / 0.9518 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.2486, allocations: 27.91 kB / 0.9519 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.53e-05/0.2487, allocations: 23.95 kB / 0.9519 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2487, allocations: 0 / 0.9519 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2487, allocations: 0 / 0.9519 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2487, allocations: 0 / 0.9519 GB, free: 7.062 MB / 0.7325 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.0004647/0.2492, allocations: 367.6 kB / 0.9522 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.2492, allocations: 11.97 kB / 0.9523 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.2493, allocations: 8.938 kB / 0.9523 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.2494, allocations: 180.2 kB / 0.9524 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.2494, allocations: 4.359 kB / 0.9524 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.2494, allocations: 4.375 kB / 0.9524 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.2495, allocations: 58 kB / 0.9525 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.2495, allocations: 0 / 0.9525 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.2496, allocations: 7.938 kB / 0.9525 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2496, allocations: 0 / 0.9525 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.03e-05/0.2496, allocations: 27.92 kB / 0.9525 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004529/0.2501, allocations: 300.8 kB / 0.9528 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.8e-05/0.2502, allocations: 54.59 kB / 0.9529 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.296e-05/0.2502, allocations: 28.94 kB / 0.9529 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.2503, allocations: 0 / 0.9529 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.2504, allocations: 83.27 kB / 0.953 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.2505, allocations: 0 / 0.953 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0002112/0.2507, allocations: 97.61 kB / 0.9531 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.2507, allocations: 55.41 kB / 0.9531 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.085e-05/0.2508, allocations: 105.8 kB / 0.9532 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.2508, allocations: 29.7 kB / 0.9532 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.2509, allocations: 88.05 kB / 0.9533 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.2509, allocations: 23.73 kB / 0.9534 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.251, allocations: 25.72 kB / 0.9534 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.2511, allocations: 326.7 kB / 0.9537 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.465e-05/0.2511, allocations: 16 kB / 0.9537 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.207e-05/0.2512, allocations: 47.42 kB / 0.9538 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.608e-05/0.2513, allocations: 79.53 kB / 0.9538 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2513, allocations: 0 / 0.9538 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000148/0.2514, allocations: 93.52 kB / 0.9539 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2515, allocations: 11.94 kB / 0.9539 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2515, allocations: 0 / 0.9539 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.2515, allocations: 0 / 0.9539 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.815e-05/0.2516, allocations: 15.94 kB / 0.9539 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2516, allocations: 4 kB / 0.9539 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.2516, allocations: 8.359 kB / 0.954 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.2516, allocations: 4 kB / 0.954 GB, free: 4.691 MB / 0.7325 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.313e-05/0.2517, allocations: 127.8 kB / 0.9541 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.2518, allocations: 7.906 kB / 0.9541 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.2518, allocations: 7.906 kB / 0.9541 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2518, allocations: 0 / 0.9541 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2518, allocations: 0 / 0.9541 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2518, allocations: 0 / 0.9541 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/0.2522, allocations: 370.4 kB / 0.9545 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2522, allocations: 0 / 0.9545 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.77e-05/0.2523, allocations: 7.938 kB / 0.9545 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2523, allocations: 0 / 0.9545 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.2523, allocations: 0 / 0.9545 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2523, allocations: 3.938 kB / 0.9545 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2523, allocations: 0 / 0.9545 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.2524, allocations: 183.4 kB / 0.9546 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.2525, allocations: 88.95 kB / 0.9547 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.2525, allocations: 4 kB / 0.9547 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.512e-05/0.2526, allocations: 11.98 kB / 0.9547 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.2527, allocations: 15.98 kB / 0.9548 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.2527, allocations: 4 kB / 0.9548 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.849e-05/0.2527, allocations: 83.28 kB / 0.9548 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2527, allocations: 0 / 0.9548 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002295/0.2529, allocations: 8 kB / 0.9548 GB, free: 3.684 MB / 0.7325 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 9.528e-05/0.253, allocations: 107.2 kB / 0.9549 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.2532, allocations: 59.86 kB / 0.955 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2532, allocations: 0 / 0.955 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.948e-05/0.2533, allocations: 24.17 kB / 0.955 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.2535, allocations: 16.34 kB / 0.955 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.2538, allocations: 187.1 kB / 0.9552 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.2541, allocations: 0.6888 MB / 0.9559 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.2541, allocations: 15.38 kB / 0.9559 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.2541, allocations: 0 / 0.9559 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of Templates: time 0.002144/0.2563, allocations: 0.8555 MB / 0.9567 GB, free: 1.668 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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