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.001674/0.001674, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001566/0.001566, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.358/1.358, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.788/2.788, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 62.5 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3237, allocations: 157.4 MB / 1.052 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003222/0.3269, allocations: 1.782 MB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.3282, allocations: 0.6201 MB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.103e-05/0.3282, allocations: 0 / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.3284, allocations: 19.86 kB / 1.054 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.3288, allocations: 83.67 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003136/0.3291, allocations: 135.8 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.3293, allocations: 211.4 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.3295, allocations: 21.55 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.3296, allocations: 95.67 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02124/0.3508, allocations: 1.445 MB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.522e-05/0.3509, allocations: 8 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.3511, allocations: 27.98 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.059e-05/0.3512, allocations: 35.91 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.3514, allocations: 75.56 kB / 1.057 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.3517, allocations: 179.4 kB / 1.057 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3517, allocations: 0 / 1.057 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.01e-07/0.3517, allocations: 0 / 1.057 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3517, allocations: 0 / 1.057 GB, free: 4.477 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.0008607/0.3526, allocations: 0.5333 MB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3526, allocations: 8.031 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.608e-05/0.3527, allocations: 16.75 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.353, allocations: 239.8 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.3531, allocations: 11.94 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.3531, allocations: 15.94 kB / 1.058 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.3533, allocations: 81.66 kB / 1.058 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3533, allocations: 0 / 1.058 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3533, allocations: 4 kB / 1.058 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.3533, allocations: 4 kB / 1.058 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.3534, allocations: 43.97 kB / 1.058 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008508/0.3543, allocations: 444.4 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.3545, allocations: 66.56 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.392e-05/0.3545, allocations: 32.97 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.3546, allocations: 4 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.3547, allocations: 79.38 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.3547, allocations: 3.938 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0002986/0.355, allocations: 141.3 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.3551, allocations: 59.34 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.3553, allocations: 187 kB / 1.059 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.3553, allocations: 33.7 kB / 1.059 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.3554, allocations: 112 kB / 1.059 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.3555, allocations: 35.77 kB / 1.059 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.732e-05/0.3556, allocations: 49.69 kB / 1.059 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3557, allocations: 326.8 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.449e-05/0.3557, allocations: 28 kB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.356, allocations: 117.4 kB / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.3561, allocations: 88.22 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3561, allocations: 0 / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002289/0.3564, allocations: 137 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3564, allocations: 8 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3564, allocations: 3.938 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3564, allocations: 4 kB / 1.06 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.671e-05/0.3565, allocations: 15.94 kB / 1.06 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3565, allocations: 8.125 kB / 1.06 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.3567, allocations: 19.83 kB / 1.06 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.3567, allocations: 8 kB / 1.06 GB, free: 1.277 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.0001311/0.3569, allocations: 133.9 kB / 1.06 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.3569, allocations: 15.81 kB / 1.06 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.001e-05/0.357, allocations: 21.34 kB / 1.06 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.357, allocations: 0 / 1.06 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.357, allocations: 0 / 1.06 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.357, allocations: 7.938 kB / 1.06 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/0.3575, allocations: 434.6 kB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3575, allocations: 0 / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.169e-05/0.3575, allocations: 7.938 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3575, allocations: 0 / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.3576, allocations: 4 kB / 1.06 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3576, allocations: 3.984 kB / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3576, allocations: 0 / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.3578, allocations: 211.2 kB / 1.06 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.3578, allocations: 88.95 kB / 1.06 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.3579, allocations: 4 kB / 1.06 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.976e-05/0.358, allocations: 7.984 kB / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/0.3581, allocations: 11.98 kB / 1.06 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.3581, allocations: 11.98 kB / 1.06 GB, free: 240 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001265/0.3582, allocations: 132.1 kB / 1.061 GB, free: 108 kB / 0.8106 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3582, allocations: 11.88 kB / 1.061 GB, free: 96 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003017/0.3585, allocations: 43.89 kB / 1.061 GB, free: 52 kB / 0.8106 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.0003605/0.3589, allocations: 152 kB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001925/0.3591, allocations: 83.78 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3591, allocations: 4 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.917e-05/0.3592, allocations: 35.92 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.3596, allocations: 53.39 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005983/0.3602, allocations: 310.4 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.3605, allocations: 0.7165 MB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.304e-05/0.3606, allocations: 25.52 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.3607, allocations: 15.44 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.3607, allocations: 0 / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of Templates: time 0.006714/0.3674, allocations: 3.123 MB / 1.065 GB, free: 11.54 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