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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001438/0.001438, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001775/0.001776, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.436/1.436, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001432, allocations: 59.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6152/0.6166, allocations: 140.4 MB / 0.9496 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002408/0.6191, allocations: 1.53 MB / 0.9511 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005524/0.6197, allocations: 442 kB / 0.9515 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-05/0.6197, allocations: 1.375 kB / 0.9515 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.6198, allocations: 3.938 kB / 0.9515 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.616e-05/0.6198, allocations: 9.297 kB / 0.9515 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.62, allocations: 20.11 kB / 0.9515 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.822e-05/0.6201, allocations: 47.09 kB / 0.9516 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.6202, allocations: 13.5 kB / 0.9516 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.451e-05/0.6202, allocations: 24.17 kB / 0.9516 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.568e-05/0.6203, allocations: 21.41 kB / 0.9516 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.6203, allocations: 2.75 kB / 0.9516 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.6203, allocations: 6.688 kB / 0.9516 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.6203, allocations: 14.67 kB / 0.9517 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.6204, allocations: 18.8 kB / 0.9517 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.28e-05/0.6204, allocations: 22.84 kB / 0.9517 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6205, allocations: 4 kB / 0.9517 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.32e-07/0.6205, allocations: 1.375 kB / 0.9517 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.6205, allocations: 0 / 0.9517 GB, free: 7.449 MB / 0.7169 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.0004189/0.6209, allocations: 371.2 kB / 0.952 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.6209, allocations: 9.625 kB / 0.9521 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.621, allocations: 7.672 kB / 0.9521 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.841e-05/0.6211, allocations: 167.1 kB / 0.9522 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.6211, allocations: 1.75 kB / 0.9522 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.6211, allocations: 8.5 kB / 0.9522 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.972e-05/0.6212, allocations: 63.73 kB / 0.9523 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.6212, allocations: 3.938 kB / 0.9523 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.6212, allocations: 1.375 kB / 0.9523 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.6212, allocations: 5.312 kB / 0.9523 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.868e-05/0.6213, allocations: 26.42 kB / 0.9523 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.6217, allocations: 313.1 kB / 0.9526 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.592e-05/0.6218, allocations: 53.48 kB / 0.9527 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.6219, allocations: 25.09 kB / 0.9527 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.6219, allocations: 0 / 0.9527 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.622, allocations: 72.72 kB / 0.9528 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.133e-06/0.622, allocations: 0 / 0.9528 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0002082/0.6222, allocations: 105.8 kB / 0.9529 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.6223, allocations: 60.95 kB / 0.9529 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.834e-05/0.6223, allocations: 105.2 kB / 0.953 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.6223, allocations: 31.05 kB / 0.9531 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/0.6224, allocations: 89.25 kB / 0.9531 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.6224, allocations: 15.88 kB / 0.9532 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.6224, allocations: 29.58 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.6225, allocations: 320.1 kB / 0.9535 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.274e-05/0.6225, allocations: 22.61 kB / 0.9535 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.373e-05/0.6226, allocations: 43.89 kB / 0.9536 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.105e-05/0.6227, allocations: 63.66 kB / 0.9536 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6227, allocations: 0 / 0.9536 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001238/0.6228, allocations: 94.03 kB / 0.9537 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.6228, allocations: 10.34 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.6228, allocations: 1.219 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.6228, allocations: 5.375 kB / 0.9537 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.957e-05/0.6229, allocations: 15.55 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.6229, allocations: 1.25 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.425e-05/0.623, allocations: 12.91 kB / 0.9538 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.623, allocations: 3.875 kB / 0.9538 GB, free: 5.414 MB / 0.7169 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.068e-05/0.6231, allocations: 118.5 kB / 0.9539 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.6231, allocations: 17.67 kB / 0.9539 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.6231, allocations: 9.531 kB / 0.9539 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.6231, allocations: 1.031 kB / 0.9539 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6231, allocations: 0 / 0.9539 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.6231, allocations: 1.312 kB / 0.9539 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.6235, allocations: 358.9 kB / 0.9542 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6235, allocations: 64 / 0.9542 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.624e-05/0.6235, allocations: 8.469 kB / 0.9543 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.6235, allocations: 4 kB / 0.9543 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.6235, allocations: 5.328 kB / 0.9543 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.6235, allocations: 3.938 kB / 0.9543 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6236, allocations: 1.219 kB / 0.9543 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.6237, allocations: 182.9 kB / 0.9544 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.6237, allocations: 84.34 kB / 0.9545 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.6237, allocations: 4 kB / 0.9545 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.6238, allocations: 7.5 kB / 0.9545 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.6239, allocations: 11.36 kB / 0.9545 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.6239, allocations: 2.938 kB / 0.9545 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.551e-05/0.6239, allocations: 86.55 kB / 0.9546 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6239, allocations: 1.188 kB / 0.9546 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002284/0.6241, allocations: 15.31 kB / 0.9546 GB, free: 4.535 MB / 0.7169 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 7.867e-05/0.6242, allocations: 100.4 kB / 0.9547 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.6244, allocations: 56.92 kB / 0.9548 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6244, allocations: 4.062 kB / 0.9548 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.947e-05/0.6244, allocations: 25.45 kB / 0.9548 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.6247, allocations: 13.78 kB / 0.9548 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.625, allocations: 189 kB / 0.955 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.6251, allocations: 0.6841 MB / 0.9557 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.6252, allocations: 15.69 kB / 0.9557 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of SimCode: time 4.41e-07/0.6252, allocations: 0 / 0.9557 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of Templates: time 0.002235/0.6274, allocations: 0.8591 MB / 0.9565 GB, free: 3.062 MB / 0.7169 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