Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_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_10_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.007229/0.007229, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001623/0.001623, allocations: 196.8 kB / 16.67 MB, free: 5.973 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.868/2.868, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 59.91 kB / 1.018 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3479, allocations: 151.6 MB / 1.167 GB, free: 6.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003778/0.3518, allocations: 1.638 MB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.3529, allocations: 0.5577 MB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.123e-05/0.353, allocations: 0 / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.3532, allocations: 35.72 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.3536, allocations: 115.4 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.3539, allocations: 147.1 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.3542, allocations: 219.5 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.3544, allocations: 29.53 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.3545, allocations: 99.67 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008949/0.3634, allocations: 1.573 MB / 1.171 GB, free: 2.852 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.335e-05/0.3635, allocations: 16 kB / 1.171 GB, free: 2.836 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.3637, allocations: 28 kB / 1.171 GB, free: 2.809 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.538e-05/0.3637, allocations: 35.84 kB / 1.171 GB, free: 2.773 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.3639, allocations: 83.56 kB / 1.171 GB, free: 2.691 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000383/0.3643, allocations: 203.2 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3643, allocations: 4 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3643, allocations: 0 / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3643, allocations: 0 / 1.171 GB, free: 2.488 MB / 0.92 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.0007901/0.3651, allocations: 0.5215 MB / 1.172 GB, free: 1.906 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3651, allocations: 11.97 kB / 1.172 GB, free: 1.895 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.344e-05/0.3652, allocations: 20.84 kB / 1.172 GB, free: 1.875 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.3655, allocations: 236 kB / 1.172 GB, free: 1.605 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.3655, allocations: 11.94 kB / 1.172 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.3656, allocations: 19.98 kB / 1.172 GB, free: 1.574 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.3657, allocations: 77.66 kB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3657, allocations: 0 / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3658, allocations: 8 kB / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3658, allocations: 0 / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.78e-05/0.3659, allocations: 47.91 kB / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007254/0.3666, allocations: 440.4 kB / 1.173 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.3668, allocations: 74.5 kB / 1.173 GB, free: 0.875 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.872e-05/0.3668, allocations: 28.84 kB / 1.173 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.3668, allocations: 4 kB / 1.173 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.367, allocations: 87.31 kB / 1.173 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.432e-06/0.367, allocations: 0 / 1.173 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.0002797/0.3673, allocations: 129.6 kB / 1.173 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.3674, allocations: 63.34 kB / 1.173 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.3676, allocations: 191.1 kB / 1.173 GB, free: 344 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.3677, allocations: 33.7 kB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.206e-05/0.3677, allocations: 116.2 kB / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.3678, allocations: 27.84 kB / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-05/0.3679, allocations: 57.67 kB / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.368, allocations: 318.8 kB / 1.174 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.217e-05/0.3681, allocations: 27.98 kB / 1.174 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.3683, allocations: 119.7 kB / 1.174 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.3684, allocations: 84.23 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3684, allocations: 4 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000197/0.3686, allocations: 129.5 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3686, allocations: 4 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3687, allocations: 3.938 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3687, allocations: 4 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.226e-05/0.3688, allocations: 19.92 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3688, allocations: 4 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.369, allocations: 24 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.369, allocations: 11.94 kB / 1.174 GB, free: 15.29 MB / 0.9356 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.0001084/0.3691, allocations: 129.6 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.3691, allocations: 15.91 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.3692, allocations: 25.33 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3692, allocations: 0 / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3692, allocations: 3.938 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3692, allocations: 3.938 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004694/0.3697, allocations: 442.3 kB / 1.175 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3697, allocations: 0 / 1.175 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.866e-05/0.3697, allocations: 3.938 kB / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3697, allocations: 4 kB / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3697, allocations: 0 / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.3698, allocations: 0 / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3698, allocations: 0 / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.37, allocations: 215.3 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.37, allocations: 89.05 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.37, allocations: 4.047 kB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.196e-05/0.3701, allocations: 7.984 kB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.3702, allocations: 19.97 kB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.3702, allocations: 4 kB / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001148/0.3704, allocations: 140 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3704, allocations: 0 / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002866/0.3707, allocations: 39.89 kB / 1.175 GB, free: 14.07 MB / 0.9356 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.0004239/0.3711, allocations: 160.4 kB / 1.175 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.3713, allocations: 87.47 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3713, allocations: 0 / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.177e-05/0.3714, allocations: 47.8 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.3718, allocations: 46.53 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005541/0.3723, allocations: 282.8 kB / 1.176 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.3726, allocations: 0.7163 MB / 1.176 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.442e-05/0.3727, allocations: 25.53 kB / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.3727, allocations: 23.42 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.3727, allocations: 0 / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of Templates: time 0.006704/0.3795, allocations: 3.292 MB / 1.18 GB, free: 9.402 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches