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.001428/0.001428, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001423/0.001423, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.372/1.372, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.708/2.708, allocations: 469.4 MB / 0.7426 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.0015, allocations: 72.58 kB / 0.9088 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3288, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003482/0.3323, allocations: 1.616 MB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.3336, allocations: 0.5694 MB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.3338, allocations: 4 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.334, allocations: 27.72 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004298/0.3345, allocations: 103.5 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.3349, allocations: 147.7 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.3352, allocations: 211.5 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.3354, allocations: 33.53 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.3355, allocations: 99.73 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009705/0.3453, allocations: 1.553 MB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.281e-05/0.3454, allocations: 19.94 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.3455, allocations: 39.98 kB / 1.069 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.356e-05/0.3456, allocations: 31.91 kB / 1.069 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.3458, allocations: 95.5 kB / 1.069 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003956/0.3462, allocations: 179.5 kB / 1.069 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3462, allocations: 4 kB / 1.069 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3462, allocations: 0 / 1.069 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.3462, allocations: 0 / 1.069 GB, free: 10.74 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.0008858/0.3471, allocations: 0.5216 MB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3472, allocations: 12.62 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.3473, allocations: 16.75 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.3476, allocations: 248.4 kB / 1.07 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.3477, allocations: 15.94 kB / 1.07 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.3477, allocations: 12 kB / 1.07 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.3479, allocations: 81.61 kB / 1.07 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3479, allocations: 3.984 kB / 1.07 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.3479, allocations: 3.984 kB / 1.07 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3479, allocations: 4 kB / 1.07 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.348, allocations: 42.66 kB / 1.07 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008692/0.3489, allocations: 444.4 kB / 1.07 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.3491, allocations: 70.48 kB / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.485e-05/0.3491, allocations: 36.84 kB / 1.07 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.3492, allocations: 0 / 1.07 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.3494, allocations: 83.38 kB / 1.07 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 4.188e-06/0.3494, allocations: 0 / 1.07 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0003231/0.3497, allocations: 137.5 kB / 1.07 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.3498, allocations: 55.41 kB / 1.071 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.35, allocations: 191 kB / 1.071 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.3501, allocations: 33.7 kB / 1.071 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.934e-05/0.3502, allocations: 116 kB / 1.071 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.3502, allocations: 27.8 kB / 1.071 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.259e-05/0.3503, allocations: 57.66 kB / 1.071 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3504, allocations: 322.8 kB / 1.071 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.829e-05/0.3505, allocations: 27.98 kB / 1.071 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.3507, allocations: 119.6 kB / 1.071 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.3509, allocations: 88.16 kB / 1.071 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3509, allocations: 0 / 1.071 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002325/0.3511, allocations: 137.4 kB / 1.072 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3511, allocations: 4 kB / 1.072 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.3512, allocations: 7.938 kB / 1.072 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3512, allocations: 0 / 1.072 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.432e-05/0.3513, allocations: 19.92 kB / 1.072 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3513, allocations: 3.938 kB / 1.072 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.3515, allocations: 19.84 kB / 1.072 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.3515, allocations: 8 kB / 1.072 GB, free: 7.535 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.0001418/0.3517, allocations: 137.9 kB / 1.072 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.3517, allocations: 11.81 kB / 1.072 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.105e-05/0.3517, allocations: 25.33 kB / 1.072 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3518, allocations: 4 kB / 1.072 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3518, allocations: 0 / 1.072 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3518, allocations: 0 / 1.072 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005328/0.3523, allocations: 426.2 kB / 1.072 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3523, allocations: 4 kB / 1.072 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.477e-05/0.3524, allocations: 7.984 kB / 1.072 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3524, allocations: 0 / 1.072 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.3524, allocations: 0 / 1.072 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3524, allocations: 0 / 1.072 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3524, allocations: 4 kB / 1.072 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.3526, allocations: 207.2 kB / 1.072 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/0.3527, allocations: 84.95 kB / 1.073 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.3527, allocations: 19.98 kB / 1.073 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.296e-05/0.3528, allocations: 4 kB / 1.073 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.3529, allocations: 16.02 kB / 1.073 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.3529, allocations: 15.92 kB / 1.073 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001223/0.3531, allocations: 129.2 kB / 1.073 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3531, allocations: 0 / 1.073 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003009/0.3534, allocations: 43.89 kB / 1.073 GB, free: 6.32 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.000342/0.3537, allocations: 173.5 kB / 1.073 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002248/0.354, allocations: 83.84 kB / 1.073 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.354, allocations: 4 kB / 1.073 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.345e-05/0.354, allocations: 39.92 kB / 1.073 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.3544, allocations: 47.98 kB / 1.073 GB, free: 6 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000659/0.3551, allocations: 312.8 kB / 1.073 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.3554, allocations: 0.7202 MB / 1.074 GB, free: 4.91 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.3555, allocations: 15.44 kB / 1.074 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.3555, allocations: 0 / 1.074 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of Templates: time 0.005639/0.3611, allocations: 2.921 MB / 1.077 GB, free: 1.992 MB / 0.8419 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches