Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001753, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002028/0.002028, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.466/1.466, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.02/3.02, allocations: 482.3 MB / 0.7542 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 69.56 kB / 0.9231 GB, free: 29.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3306, allocations: 162.2 MB / 1.082 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003399/0.334, allocations: 1.785 MB / 1.083 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.3353, allocations: 0.6046 MB / 1.084 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.38e-05/0.3354, allocations: 4 kB / 1.084 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.3356, allocations: 27.8 kB / 1.084 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.3359, allocations: 83.72 kB / 1.084 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.3362, allocations: 139.8 kB / 1.084 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000246/0.3365, allocations: 199.5 kB / 1.084 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.3366, allocations: 25.48 kB / 1.084 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.3367, allocations: 95.67 kB / 1.084 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02695/0.3637, allocations: 1.448 MB / 1.086 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.298e-05/0.3638, allocations: 8 kB / 1.086 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.3639, allocations: 28 kB / 1.086 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.696e-05/0.364, allocations: 35.83 kB / 1.086 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.3642, allocations: 67.64 kB / 1.086 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.3645, allocations: 187.4 kB / 1.086 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3645, allocations: 4 kB / 1.086 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3645, allocations: 0 / 1.086 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3645, allocations: 0 / 1.086 GB, free: 9.324 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009705/0.3655, allocations: 0.5216 MB / 1.087 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3655, allocations: 8.031 kB / 1.087 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.769e-05/0.3656, allocations: 20.75 kB / 1.087 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.3659, allocations: 240.5 kB / 1.087 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.366, allocations: 7.938 kB / 1.087 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.366, allocations: 16 kB / 1.087 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.3662, allocations: 88.27 kB / 1.087 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3662, allocations: 3.984 kB / 1.087 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.3663, allocations: 8 kB / 1.087 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3663, allocations: 0 / 1.087 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.3664, allocations: 43.97 kB / 1.087 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000816/0.3672, allocations: 436.4 kB / 1.088 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.3674, allocations: 66.56 kB / 1.088 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.773e-05/0.3674, allocations: 32.84 kB / 1.088 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.3675, allocations: 3.938 kB / 1.088 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.3676, allocations: 99.34 kB / 1.088 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.3676, allocations: 0 / 1.088 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0003011/0.3679, allocations: 125.8 kB / 1.088 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.368, allocations: 63.38 kB / 1.088 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.3682, allocations: 186.9 kB / 1.088 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.3683, allocations: 29.7 kB / 1.088 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3684, allocations: 120 kB / 1.088 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.3684, allocations: 27.73 kB / 1.088 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.333e-05/0.3685, allocations: 53.67 kB / 1.088 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3687, allocations: 330.8 kB / 1.089 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.579e-05/0.3687, allocations: 19.98 kB / 1.089 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.369, allocations: 127.5 kB / 1.089 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.3691, allocations: 87.11 kB / 1.089 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3691, allocations: 0 / 1.089 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002309/0.3694, allocations: 133.5 kB / 1.089 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3694, allocations: 6.031 kB / 1.089 GB, free: 6.188 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.3694, allocations: 3.938 kB / 1.089 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3694, allocations: 12.12 kB / 1.089 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.951e-05/0.3695, allocations: 11.98 kB / 1.089 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3695, allocations: 4 kB / 1.089 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.3698, allocations: 23.83 kB / 1.089 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.3698, allocations: 4 kB / 1.089 GB, free: 6.129 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001278/0.3699, allocations: 137.5 kB / 1.089 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.37, allocations: 15.81 kB / 1.089 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.37, allocations: 25.33 kB / 1.089 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.37, allocations: 4 kB / 1.089 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.37, allocations: 0 / 1.089 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.37, allocations: 4 kB / 1.089 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005716/0.3706, allocations: 438.2 kB / 1.09 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3706, allocations: 0 / 1.09 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/0.3707, allocations: 4 kB / 1.09 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3707, allocations: 0 / 1.09 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.3707, allocations: 4 kB / 1.09 GB, free: 5.445 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3707, allocations: 4 kB / 1.09 GB, free: 5.441 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3707, allocations: 0 / 1.09 GB, free: 5.441 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.3709, allocations: 207.2 kB / 1.09 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.118e-05/0.371, allocations: 100.9 kB / 1.09 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.371, allocations: 3.984 kB / 1.09 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-05/0.3711, allocations: 7.984 kB / 1.09 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.3712, allocations: 15.98 kB / 1.09 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.3712, allocations: 11.94 kB / 1.09 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001316/0.3714, allocations: 141.1 kB / 1.09 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3714, allocations: 0 / 1.09 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002984/0.3717, allocations: 36 kB / 1.09 GB, free: 4.895 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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 0.0003663/0.3721, allocations: 164.9 kB / 1.09 GB, free: 4.746 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002028/0.3723, allocations: 83.84 kB / 1.09 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3723, allocations: 0 / 1.09 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.914e-05/0.3724, allocations: 39.92 kB / 1.09 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.3728, allocations: 48.09 kB / 1.09 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006359/0.3734, allocations: 316.6 kB / 1.091 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.3738, allocations: 0.7127 MB / 1.091 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.298e-05/0.3739, allocations: 21.53 kB / 1.091 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/0.3739, allocations: 27.42 kB / 1.091 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.3739, allocations: 0 / 1.091 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of Templates: time 0.007487/0.3814, allocations: 3.088 MB / 1.094 GB, free: 404 kB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches