Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001827/0.001827, allocations: 105.9 kB / 15.98 MB, free: 6.352 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.002068/0.002068, allocations: 193.5 kB / 16.91 MB, free: 6.195 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.412/1.412, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.696/2.696, allocations: 469.8 MB / 0.7427 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001974, allocations: 59.44 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3363, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003378/0.3397, allocations: 1.782 MB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3409, allocations: 0.6084 MB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.774e-05/0.341, allocations: 0 / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.3412, allocations: 19.8 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.3415, allocations: 87.73 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.3419, allocations: 143.7 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.3422, allocations: 215.5 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3423, allocations: 29.48 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.3425, allocations: 103.7 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02558/0.368, allocations: 1.558 MB / 1.069 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.852e-05/0.3681, allocations: 16 kB / 1.069 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.3683, allocations: 28 kB / 1.069 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/0.3683, allocations: 35.84 kB / 1.069 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.3685, allocations: 87.61 kB / 1.069 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.3687, allocations: 131.7 kB / 1.069 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3688, allocations: 0 / 1.069 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.033e-06/0.3688, allocations: 0 / 1.069 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3688, allocations: 0 / 1.069 GB, free: 10.7 MB / 0.8419 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.0008057/0.3696, allocations: 0.5216 MB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3696, allocations: 8.031 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.952e-05/0.3697, allocations: 20.75 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.37, allocations: 243.9 kB / 1.07 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.3701, allocations: 11.94 kB / 1.07 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.3701, allocations: 12 kB / 1.07 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.3703, allocations: 88.12 kB / 1.07 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3703, allocations: 0 / 1.07 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.3703, allocations: 0 / 1.07 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.3704, allocations: 4 kB / 1.07 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.3705, allocations: 47.95 kB / 1.07 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007905/0.3713, allocations: 440.4 kB / 1.07 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.3714, allocations: 66.56 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.108e-05/0.3715, allocations: 24.84 kB / 1.07 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.3715, allocations: 12 kB / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.3717, allocations: 83.31 kB / 1.07 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.3717, allocations: 4 kB / 1.07 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0002955/0.372, allocations: 137.5 kB / 1.07 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.372, allocations: 55.39 kB / 1.071 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.3722, allocations: 191 kB / 1.071 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.3723, allocations: 37.64 kB / 1.071 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.468e-05/0.3724, allocations: 116 kB / 1.071 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.3724, allocations: 27.78 kB / 1.071 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.073e-05/0.3725, allocations: 49.69 kB / 1.071 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3727, allocations: 330.8 kB / 1.071 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.75e-05/0.3727, allocations: 24 kB / 1.071 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.373, allocations: 122.4 kB / 1.071 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.3731, allocations: 94.84 kB / 1.071 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3731, allocations: 3.938 kB / 1.071 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002163/0.3733, allocations: 129.4 kB / 1.072 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3734, allocations: 8 kB / 1.072 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3734, allocations: 3.938 kB / 1.072 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3734, allocations: 4 kB / 1.072 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.3735, allocations: 11.94 kB / 1.072 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.3735, allocations: 4 kB / 1.072 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.3737, allocations: 23.83 kB / 1.072 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.3737, allocations: 8 kB / 1.072 GB, free: 7.508 MB / 0.8419 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.000145/0.3739, allocations: 145.9 kB / 1.072 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.3739, allocations: 15.81 kB / 1.072 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.3739, allocations: 21.34 kB / 1.072 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.374, allocations: 0 / 1.072 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.374, allocations: 0 / 1.072 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.374, allocations: 0 / 1.072 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.3745, allocations: 434.2 kB / 1.072 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3745, allocations: 8 kB / 1.072 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.975e-05/0.3746, allocations: 0 / 1.072 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3746, allocations: 0 / 1.072 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.3746, allocations: 4 kB / 1.072 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3746, allocations: 3.984 kB / 1.072 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3746, allocations: 0 / 1.072 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.3748, allocations: 211.2 kB / 1.072 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.3749, allocations: 88.95 kB / 1.073 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.3749, allocations: 4 kB / 1.073 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.941e-05/0.375, allocations: 11.98 kB / 1.073 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.3751, allocations: 11.98 kB / 1.073 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.3751, allocations: 8 kB / 1.073 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001229/0.3752, allocations: 137.2 kB / 1.073 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3753, allocations: 0 / 1.073 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003008/0.3756, allocations: 35.91 kB / 1.073 GB, free: 6.293 MB / 0.8419 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.0004225/0.376, allocations: 173.6 kB / 1.073 GB, free: 6.137 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.3762, allocations: 89.72 kB / 1.073 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.3762, allocations: 0 / 1.073 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.498e-05/0.3763, allocations: 39.92 kB / 1.073 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.3767, allocations: 56.03 kB / 1.073 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006339/0.3774, allocations: 340.9 kB / 1.073 GB, free: 5.586 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.3779, allocations: 0.7163 MB / 1.074 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.766e-05/0.3779, allocations: 27.42 kB / 1.074 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3779, allocations: 0 / 1.074 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of Templates: time 0.005435/0.3834, allocations: 2.899 MB / 1.077 GB, free: 1.938 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches