Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001033/0.001034, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009531/0.009542, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.667/2.667, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003212, allocations: 8.031 kB / 0.9027 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3246, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001674/0.3263, allocations: 1.195 MB / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006452/0.3269, allocations: 438.8 kB / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.327, allocations: 4 kB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.327, allocations: 7.984 kB / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.478e-05/0.3271, allocations: 7.922 kB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.3273, allocations: 15.98 kB / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.248e-05/0.3273, allocations: 43.86 kB / 1.06 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3274, allocations: 11.98 kB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.104e-05/0.3275, allocations: 19.92 kB / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.894e-05/0.3276, allocations: 19.91 kB / 1.06 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.3276, allocations: 4 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.3276, allocations: 7.938 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.3276, allocations: 8 kB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.127e-05/0.3277, allocations: 49.56 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.808e-05/0.3278, allocations: 39.81 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3278, allocations: 0 / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3278, allocations: 0 / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.3278, allocations: 0 / 1.06 GB, free: 3.105 MB / 0.8106 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.0004779/0.3283, allocations: 355.7 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3283, allocations: 15.97 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.3284, allocations: 12.94 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.3285, allocations: 176.2 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3285, allocations: 384 / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.3286, allocations: 4.375 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.3287, allocations: 61.98 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.3287, allocations: 0 / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3287, allocations: 4 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3287, allocations: 0 / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.965e-05/0.3288, allocations: 27.92 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.3292, allocations: 308.8 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.3294, allocations: 58.59 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.193e-05/0.3294, allocations: 24.95 kB / 1.061 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.3294, allocations: 0 / 1.061 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.3296, allocations: 71.38 kB / 1.061 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.3296, allocations: 0 / 1.061 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0002154/0.3298, allocations: 101.5 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.3299, allocations: 59.78 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.672e-05/0.3299, allocations: 106 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.33, allocations: 29.7 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/0.33, allocations: 88.05 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.33, allocations: 31.61 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.3301, allocations: 21.7 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3302, allocations: 326.7 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.245e-05/0.3302, allocations: 15.98 kB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.183e-05/0.3303, allocations: 43.42 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.42e-05/0.3304, allocations: 71.41 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3304, allocations: 0 / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001398/0.3305, allocations: 97.52 kB / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3306, allocations: 4 kB / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3306, allocations: 0 / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3306, allocations: 4 kB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.569e-05/0.3307, allocations: 15.92 kB / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3307, allocations: 4.016 kB / 1.062 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.769e-05/0.3307, allocations: 16 kB / 1.062 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.3308, allocations: 4 kB / 1.062 GB, free: 0.7422 MB / 0.8106 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 8.716e-05/0.3308, allocations: 121.8 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.3309, allocations: 3.906 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.3309, allocations: 11.97 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3309, allocations: 0 / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3309, allocations: 0 / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3309, allocations: 4 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.3313, allocations: 354.5 kB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3313, allocations: 8 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.3314, allocations: 7.922 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3314, allocations: 4 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3314, allocations: 0 / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3314, allocations: 3.938 kB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3314, allocations: 4 kB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.3316, allocations: 183.5 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.3316, allocations: 85.14 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.3316, allocations: 7.938 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.504e-05/0.3317, allocations: 7.938 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.3318, allocations: 11.92 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.3318, allocations: 4 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.691e-05/0.3318, allocations: 91.36 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3318, allocations: 0 / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002211/0.3321, allocations: 15.91 kB / 1.063 GB, free: 15.73 MB / 0.8262 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.95e-05/0.3322, allocations: 105.8 kB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.3323, allocations: 55.91 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.3323, allocations: 0 / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.704e-05/0.3324, allocations: 23.94 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.3326, allocations: 20.05 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/0.3329, allocations: 151.6 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.3332, allocations: 0.6848 MB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.664e-05/0.3332, allocations: 4 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.3332, allocations: 19.38 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.3333, allocations: 0 / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of Templates: time 0.002662/0.3359, allocations: 0.6793 MB / 1.065 GB, free: 13.94 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches