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.001557/0.001557, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001632/0.001632, allocations: 189.2 kB / 16.25 MB, free: 6.59 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.473/1.473, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.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.34/2.34, allocations: 390.2 MB / 0.6643 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 71.88 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7155/0.7169, allocations: 140.3 MB / 0.9491 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002243/0.7192, allocations: 1.542 MB / 0.9506 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006363/0.7198, allocations: 446 kB / 0.951 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.562e-05/0.7199, allocations: 0 / 0.951 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.04e-05/0.7199, allocations: 13.05 kB / 0.951 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.667e-05/0.72, allocations: 4 kB / 0.951 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.7202, allocations: 20.3 kB / 0.951 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.572e-05/0.7203, allocations: 46.11 kB / 0.9511 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.7204, allocations: 21.34 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.362e-05/0.7204, allocations: 23.39 kB / 0.9511 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.778e-05/0.7205, allocations: 16.55 kB / 0.9511 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.7205, allocations: 5.156 kB / 0.9512 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.7206, allocations: 8.062 kB / 0.9512 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/0.7206, allocations: 13.39 kB / 0.9512 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.336e-05/0.7206, allocations: 20.19 kB / 0.9512 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.7208, allocations: 41.27 kB / 0.9512 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.7208, allocations: 5.5 kB / 0.9512 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7208, allocations: 0 / 0.9512 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.7208, allocations: 0 / 0.9512 GB, free: 7.406 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.0004466/0.7212, allocations: 366.8 kB / 0.9516 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.7213, allocations: 13.91 kB / 0.9516 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.7213, allocations: 3.438 kB / 0.9516 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.699e-05/0.7214, allocations: 163 kB / 0.9518 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.7214, allocations: 3 kB / 0.9518 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.7215, allocations: 8.062 kB / 0.9518 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.7216, allocations: 64.33 kB / 0.9518 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.7216, allocations: 3.938 kB / 0.9518 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.7216, allocations: 5.062 kB / 0.9518 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.7216, allocations: 1.312 kB / 0.9518 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.255e-05/0.7217, allocations: 26.08 kB / 0.9519 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.7221, allocations: 304.8 kB / 0.9522 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.7222, allocations: 58 kB / 0.9522 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.296e-05/0.7223, allocations: 20.17 kB / 0.9522 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.7223, allocations: 1.438 kB / 0.9522 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.7225, allocations: 79.14 kB / 0.9523 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.7225, allocations: 0 / 0.9523 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0002223/0.7227, allocations: 106 kB / 0.9524 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.7228, allocations: 54.03 kB / 0.9525 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.443e-05/0.7228, allocations: 108 kB / 0.9526 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.7229, allocations: 30.92 kB / 0.9526 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.7229, allocations: 90.31 kB / 0.9527 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.7229, allocations: 15.38 kB / 0.9527 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.723, allocations: 29.67 kB / 0.9527 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.431e-05/0.723, allocations: 324.3 kB / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.378e-05/0.7231, allocations: 13.44 kB / 0.953 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.188e-05/0.7231, allocations: 49.08 kB / 0.9531 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.947e-05/0.7232, allocations: 66.36 kB / 0.9532 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7232, allocations: 1.562 kB / 0.9532 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001271/0.7233, allocations: 94.06 kB / 0.9532 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.7234, allocations: 13.09 kB / 0.9533 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7234, allocations: 4.953 kB / 0.9533 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.7234, allocations: 6.812 kB / 0.9533 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.427e-05/0.7235, allocations: 6.656 kB / 0.9533 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.7235, allocations: 2.469 kB / 0.9533 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.469e-05/0.7236, allocations: 12.45 kB / 0.9533 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.7236, allocations: 6.781 kB / 0.9533 GB, free: 5.375 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 7.087e-05/0.7237, allocations: 123 kB / 0.9534 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.7237, allocations: 11.56 kB / 0.9534 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.7237, allocations: 7.969 kB / 0.9534 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7237, allocations: 5.469 kB / 0.9534 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.7237, allocations: 0 / 0.9534 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.7237, allocations: 0 / 0.9534 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.7241, allocations: 359.4 kB / 0.9538 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.7241, allocations: 1.062 kB / 0.9538 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.49e-05/0.7241, allocations: 3.656 kB / 0.9538 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.7241, allocations: 0 / 0.9538 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.7241, allocations: 1.094 kB / 0.9538 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.7241, allocations: 5.125 kB / 0.9538 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.7241, allocations: 4 kB / 0.9538 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.7243, allocations: 184 kB / 0.954 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.7243, allocations: 79.36 kB / 0.954 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.7243, allocations: 9.047 kB / 0.9541 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.078e-05/0.7244, allocations: 11.23 kB / 0.9541 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.7244, allocations: 7.328 kB / 0.9541 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.7245, allocations: 2.094 kB / 0.9541 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.221e-05/0.7245, allocations: 87.91 kB / 0.9542 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7245, allocations: 0 / 0.9542 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002412/0.7247, allocations: 18.84 kB / 0.9542 GB, free: 4.5 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 8.886e-05/0.7248, allocations: 100.8 kB / 0.9543 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.725, allocations: 61.16 kB / 0.9543 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.725, allocations: 0 / 0.9543 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.99e-05/0.725, allocations: 30.38 kB / 0.9544 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.7253, allocations: 16.17 kB / 0.9544 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002779/0.7256, allocations: 159.2 kB / 0.9545 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.7257, allocations: 0.6858 MB / 0.9552 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.648e-05/0.7258, allocations: 12.05 kB / 0.9552 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.7258, allocations: 11.09 kB / 0.9552 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.7258, allocations: 5.5 kB / 0.9552 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of Templates: time 0.002656/0.7284, allocations: 0.7215 MB / 0.9559 GB, free: 3.125 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches