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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006743/0.006743, allocations: 101.8 kB / 15.73 MB, free: 5.969 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.001197/0.001197, allocations: 197 kB / 16.67 MB, free: 5.906 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.798/2.798, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.91 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3435, allocations: 157.4 MB / 1.208 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003318/0.3469, allocations: 1.628 MB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.3482, allocations: 0.5661 MB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.3483, allocations: 3.938 kB / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.3486, allocations: 31.72 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004436/0.349, allocations: 107.5 kB / 1.21 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.3494, allocations: 153.5 kB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.3498, allocations: 219.5 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.3499, allocations: 25.55 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.3501, allocations: 103.7 kB / 1.21 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009305/0.3594, allocations: 1.577 MB / 1.212 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.862e-05/0.3595, allocations: 16 kB / 1.212 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.3596, allocations: 32 kB / 1.212 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.913e-05/0.3597, allocations: 39.84 kB / 1.212 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.3598, allocations: 83.56 kB / 1.212 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.3602, allocations: 191.5 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3602, allocations: 0 / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.288e-06/0.3602, allocations: 0 / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.3602, allocations: 3.938 kB / 1.212 GB, free: 5.336 MB / 0.9669 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.0008942/0.3611, allocations: 0.5215 MB / 1.213 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.3612, allocations: 8.625 kB / 1.213 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.106e-05/0.3613, allocations: 24.75 kB / 1.213 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.3616, allocations: 232 kB / 1.213 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.3617, allocations: 15.94 kB / 1.213 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.3617, allocations: 8 kB / 1.213 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.3619, allocations: 81.59 kB / 1.213 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3619, allocations: 0 / 1.213 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.3619, allocations: 8 kB / 1.213 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.3619, allocations: 0 / 1.213 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.362, allocations: 39.98 kB / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000826/0.3629, allocations: 440.4 kB / 1.214 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.363, allocations: 70.55 kB / 1.214 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.3631, allocations: 36.78 kB / 1.214 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.3631, allocations: 4 kB / 1.214 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.3633, allocations: 95.41 kB / 1.214 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 3.116e-06/0.3634, allocations: 0 / 1.214 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0003076/0.3637, allocations: 129.4 kB / 1.214 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.3637, allocations: 55.41 kB / 1.214 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.364, allocations: 195 kB / 1.214 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/0.364, allocations: 29.7 kB / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.664e-05/0.3641, allocations: 120 kB / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.3641, allocations: 27.78 kB / 1.214 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-05/0.3642, allocations: 53.67 kB / 1.214 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3644, allocations: 326.8 kB / 1.215 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.487e-05/0.3644, allocations: 27.92 kB / 1.215 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.3647, allocations: 125.1 kB / 1.215 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.3648, allocations: 84.22 kB / 1.215 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3648, allocations: 0 / 1.215 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002282/0.365, allocations: 133.5 kB / 1.215 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3651, allocations: 4 kB / 1.215 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3651, allocations: 7.875 kB / 1.215 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3651, allocations: 8.031 kB / 1.215 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/0.3652, allocations: 15.98 kB / 1.215 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3652, allocations: 0 / 1.215 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.3654, allocations: 19.84 kB / 1.215 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.3654, allocations: 12 kB / 1.215 GB, free: 2.141 MB / 0.9669 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.0001201/0.3655, allocations: 133.9 kB / 1.215 GB, free: 2 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.3656, allocations: 19.81 kB / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.654e-05/0.3656, allocations: 21.33 kB / 1.215 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3656, allocations: 0 / 1.215 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.3657, allocations: 4 kB / 1.215 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3657, allocations: 0 / 1.215 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005156/0.3662, allocations: 430.2 kB / 1.216 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3662, allocations: 0 / 1.216 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.801e-05/0.3662, allocations: 11.98 kB / 1.216 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3662, allocations: 4 kB / 1.216 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.3662, allocations: 0 / 1.216 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3663, allocations: 0 / 1.216 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3663, allocations: 0 / 1.216 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.3665, allocations: 207.2 kB / 1.216 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.3665, allocations: 92.86 kB / 1.216 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.3666, allocations: 3.984 kB / 1.216 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.274e-05/0.3667, allocations: 11.94 kB / 1.216 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.3667, allocations: 23.91 kB / 1.216 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.3668, allocations: 4 kB / 1.216 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001257/0.3669, allocations: 132.1 kB / 1.216 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6.51e-07/0.3669, allocations: 0 / 1.216 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003089/0.3672, allocations: 43.98 kB / 1.216 GB, free: 0.918 MB / 0.9669 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.0003598/0.3676, allocations: 159.4 kB / 1.216 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.3678, allocations: 85.84 kB / 1.217 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3678, allocations: 4.25 kB / 1.217 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.594e-05/0.3679, allocations: 32 kB / 1.217 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.3683, allocations: 56.7 kB / 1.217 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006256/0.3689, allocations: 266.8 kB / 1.217 GB, free: 328 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.3693, allocations: 0.7241 MB / 1.218 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.5e-05/0.3694, allocations: 21.53 kB / 1.218 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.3694, allocations: 19.44 kB / 1.218 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of SimCode: time 2.11e-07/0.3694, allocations: 0 / 1.218 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of Templates: time 0.007649/0.3771, allocations: 3.298 MB / 1.221 GB, free: 12.27 MB / 0.9825 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=480 -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