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.001286/0.001287, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001113/0.001113, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.77/2.77, allocations: 461.9 MB / 0.7343 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.09 kB / 0.8986 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3509, allocations: 157.4 MB / 1.052 GB, free: 8.801 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003386/0.3543, allocations: 1.788 MB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.3556, allocations: 0.6123 MB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.3557, allocations: 0 / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.356, allocations: 23.8 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003943/0.3564, allocations: 91.66 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.3568, allocations: 138.8 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.3571, allocations: 211.6 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.3573, allocations: 33.47 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.3574, allocations: 99.69 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02074/0.3782, allocations: 1.56 MB / 1.057 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.339e-05/0.3783, allocations: 16 kB / 1.057 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.3784, allocations: 35.98 kB / 1.057 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.107e-05/0.3785, allocations: 35.84 kB / 1.057 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.3787, allocations: 83.62 kB / 1.057 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.379, allocations: 191.4 kB / 1.057 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.379, allocations: 3.984 kB / 1.057 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.404e-06/0.379, allocations: 0 / 1.057 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.379, allocations: 0 / 1.057 GB, free: 4.289 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007561/0.3798, allocations: 0.5176 MB / 1.058 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.3798, allocations: 8.625 kB / 1.058 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.107e-05/0.3799, allocations: 24.75 kB / 1.058 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.3802, allocations: 247.8 kB / 1.058 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.3802, allocations: 15.94 kB / 1.058 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.3803, allocations: 8 kB / 1.058 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.3805, allocations: 83.98 kB / 1.058 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.3805, allocations: 0 / 1.058 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.3805, allocations: 8 kB / 1.058 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3805, allocations: 0 / 1.058 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.3806, allocations: 39.98 kB / 1.058 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008673/0.3815, allocations: 444.4 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.3817, allocations: 66.55 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.995e-05/0.3817, allocations: 36.84 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.3818, allocations: 7.922 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.382, allocations: 87.38 kB / 1.059 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.382, allocations: 0 / 1.059 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0003306/0.3823, allocations: 129.9 kB / 1.059 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.3824, allocations: 55.41 kB / 1.059 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.3826, allocations: 199 kB / 1.059 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.3826, allocations: 33.7 kB / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.3828, allocations: 116 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.3828, allocations: 23.8 kB / 1.059 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.473e-05/0.3829, allocations: 53.67 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.383, allocations: 326.8 kB / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.836e-05/0.3831, allocations: 23.98 kB / 1.06 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.3833, allocations: 121.7 kB / 1.06 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.3835, allocations: 84.22 kB / 1.06 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3835, allocations: 0 / 1.06 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002421/0.3837, allocations: 136.5 kB / 1.06 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.3838, allocations: 4 kB / 1.06 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3838, allocations: 7.938 kB / 1.06 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.3838, allocations: 0 / 1.06 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.992e-05/0.3839, allocations: 19.92 kB / 1.06 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3839, allocations: 0 / 1.06 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.3841, allocations: 23.83 kB / 1.06 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.3841, allocations: 8 kB / 1.06 GB, free: 1.102 MB / 0.8106 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.0001467/0.3843, allocations: 135.4 kB / 1.06 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.3843, allocations: 19.84 kB / 1.06 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.3844, allocations: 21.33 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3844, allocations: 0 / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.3844, allocations: 8 kB / 1.06 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3844, allocations: 3.938 kB / 1.06 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005441/0.385, allocations: 442.2 kB / 1.06 GB, free: 432 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.385, allocations: 3.984 kB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.385, allocations: 4 kB / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.385, allocations: 0 / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.385, allocations: 0 / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.385, allocations: 0 / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.385, allocations: 0 / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.3852, allocations: 211.2 kB / 1.061 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.3853, allocations: 96.94 kB / 1.061 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.3853, allocations: 4 kB / 1.061 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.394e-05/0.3854, allocations: 4 kB / 1.061 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.3855, allocations: 15.97 kB / 1.061 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.3855, allocations: 4 kB / 1.061 GB, free: 52 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001273/0.3857, allocations: 140.1 kB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3857, allocations: 0 / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002995/0.386, allocations: 43.91 kB / 1.061 GB, free: 15.87 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: 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.0003538/0.3863, allocations: 155 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.3865, allocations: 91.84 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3866, allocations: 3.938 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.576e-05/0.3866, allocations: 35.98 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.3871, allocations: 50.16 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005979/0.3877, allocations: 312.6 kB / 1.062 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.388, allocations: 0.7163 MB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.445e-05/0.3881, allocations: 17.53 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.637e-05/0.3882, allocations: 23.42 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3882, allocations: 0 / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of Templates: time 0.007147/0.3953, allocations: 3.204 MB / 1.065 GB, free: 11.27 MB / 0.8262 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