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.001457/0.001457, allocations: 107 kB / 16.41 MB, free: 6.5 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.001529/0.001529, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.408/2.408, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 59.91 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7477/0.7495, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003024/0.7525, allocations: 1.637 MB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.7537, allocations: 0.5655 MB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.089e-05/0.7537, allocations: 0 / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.7539, allocations: 23.73 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003366/0.7543, allocations: 123.4 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.7546, allocations: 153.4 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.7549, allocations: 207.5 kB / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.7551, allocations: 29.53 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.7552, allocations: 99.67 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01172/0.7669, allocations: 1.569 MB / 1.172 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.372e-05/0.767, allocations: 12 kB / 1.172 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.7672, allocations: 43.97 kB / 1.172 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.219e-05/0.7673, allocations: 39.84 kB / 1.172 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.7674, allocations: 91.5 kB / 1.172 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.7678, allocations: 180.3 kB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.7678, allocations: 4 kB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7678, allocations: 0 / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.7678, allocations: 0 / 1.172 GB, free: 15.5 MB / 0.9044 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.0008428/0.7687, allocations: 0.5331 MB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.7687, allocations: 8.922 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.219e-05/0.7688, allocations: 24.78 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.7691, allocations: 224.2 kB / 1.173 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.7692, allocations: 15.92 kB / 1.173 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.7692, allocations: 16 kB / 1.173 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.7694, allocations: 77.61 kB / 1.173 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.7694, allocations: 0 / 1.173 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.7694, allocations: 7.984 kB / 1.173 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.7694, allocations: 4 kB / 1.173 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.89e-05/0.7695, allocations: 47.02 kB / 1.173 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008123/0.7704, allocations: 440.4 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.7705, allocations: 78.48 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.275e-05/0.7706, allocations: 28.84 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.7706, allocations: 4 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002142/0.7708, allocations: 83.36 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/0.7708, allocations: 0 / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12): time 0.0003423/0.7712, allocations: 141.9 kB / 1.174 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.7712, allocations: 55.41 kB / 1.174 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.7715, allocations: 187.7 kB / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.7715, allocations: 37.69 kB / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.7716, allocations: 112.1 kB / 1.174 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.7717, allocations: 27.94 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-05/0.7718, allocations: 57.66 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.7719, allocations: 322.8 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.194e-05/0.772, allocations: 27.98 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.7722, allocations: 119.3 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.7724, allocations: 92.22 kB / 1.175 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.7724, allocations: 0 / 1.175 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002346/0.7727, allocations: 133.4 kB / 1.175 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.7727, allocations: 8 kB / 1.175 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.7727, allocations: 3.938 kB / 1.175 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.7727, allocations: 7.938 kB / 1.175 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.681e-05/0.7728, allocations: 15.94 kB / 1.175 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.7728, allocations: 11.89 kB / 1.175 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.773, allocations: 24.02 kB / 1.175 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.773, allocations: 8 kB / 1.175 GB, free: 12.29 MB / 0.9044 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.0001285/0.7732, allocations: 133.8 kB / 1.175 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.7732, allocations: 15.91 kB / 1.175 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.7732, allocations: 21.34 kB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.7733, allocations: 0 / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7733, allocations: 3.984 kB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.7733, allocations: 0 / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005473/0.7738, allocations: 430.4 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.7738, allocations: 0 / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.74e-05/0.7739, allocations: 7.984 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.7739, allocations: 3.938 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.7739, allocations: 4 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7739, allocations: 0 / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7739, allocations: 0 / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.7741, allocations: 211.3 kB / 1.176 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.7742, allocations: 85.06 kB / 1.176 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.7742, allocations: 7.984 kB / 1.176 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.916e-05/0.7743, allocations: 7.938 kB / 1.176 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.7744, allocations: 15.98 kB / 1.176 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.7744, allocations: 7.984 kB / 1.176 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001332/0.7746, allocations: 132.1 kB / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7746, allocations: 0 / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002894/0.7749, allocations: 43.88 kB / 1.176 GB, free: 11.08 MB / 0.9044 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.0004157/0.7753, allocations: 173.5 kB / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.7755, allocations: 75.92 kB / 1.176 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7755, allocations: 0 / 1.176 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.616e-05/0.7756, allocations: 39.92 kB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.776, allocations: 51.12 kB / 1.176 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006766/0.7767, allocations: 279.1 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.7771, allocations: 0.7124 MB / 1.177 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.238e-05/0.7772, allocations: 25.52 kB / 1.177 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/0.7772, allocations: 19.44 kB / 1.177 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.7772, allocations: 0 / 1.177 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of Templates: time 0.007982/0.7852, allocations: 3.31 MB / 1.18 GB, free: 6.406 MB / 0.9044 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches