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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 187.9 kB / 22.23 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.905/2.905, allocations: 0.4893 GB / 0.7884 GB, free: 33.04 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 75.58 kB / 1.145 GB, free: 30.67 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2836, allocations: 174.9 MB / 1.316 GB, free: 9.727 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003006/0.2866, allocations: 1.646 MB / 1.318 GB, free: 8.066 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.00108/0.2877, allocations: 0.5812 MB / 1.318 GB, free: 7.484 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.458e-05/0.2877, allocations: 0 / 1.318 GB, free: 7.484 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.2879, allocations: 27.72 kB / 1.318 GB, free: 7.457 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.2883, allocations: 111.5 kB / 1.318 GB, free: 7.348 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.2886, allocations: 154.6 kB / 1.318 GB, free: 7.199 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002978/0.2889, allocations: 219.5 kB / 1.319 GB, free: 6.984 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.289, allocations: 17.75 kB / 1.319 GB, free: 6.965 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.2891, allocations: 107.7 kB / 1.319 GB, free: 6.859 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.01172/0.3009, allocations: 1.586 MB / 1.32 GB, free: 5.684 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.527e-05/0.3009, allocations: 16 kB / 1.32 GB, free: 5.668 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.379e-05/0.301, allocations: 32 kB / 1.32 GB, free: 5.637 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.3011, allocations: 31.91 kB / 1.32 GB, free: 5.605 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.00011/0.3012, allocations: 87.5 kB / 1.32 GB, free: 5.52 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.3015, allocations: 195.3 kB / 1.321 GB, free: 5.328 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3015, allocations: 7.938 kB / 1.321 GB, free: 5.32 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.243e-06/0.3015, allocations: 4 kB / 1.321 GB, free: 5.316 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.37e-06/0.3015, allocations: 0 / 1.321 GB, free: 5.316 MB / 1.014 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.0007091/0.3022, allocations: 456.9 kB / 1.321 GB, free: 4.828 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.3022, allocations: 8.031 kB / 1.321 GB, free: 4.82 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.502e-05/0.3023, allocations: 20.84 kB / 1.321 GB, free: 4.801 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.3026, allocations: 182.7 kB / 1.321 GB, free: 4.598 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.3026, allocations: 15.94 kB / 1.321 GB, free: 4.582 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.3026, allocations: 19.98 kB / 1.321 GB, free: 4.562 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.3028, allocations: 73.67 kB / 1.321 GB, free: 4.484 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3028, allocations: 0 / 1.321 GB, free: 4.484 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3028, allocations: 7.984 kB / 1.321 GB, free: 4.477 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3028, allocations: 0 / 1.321 GB, free: 4.477 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.689e-05/0.3029, allocations: 43.92 kB / 1.321 GB, free: 4.434 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000733/0.3036, allocations: 411.5 kB / 1.322 GB, free: 3.988 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.3038, allocations: 62.5 kB / 1.322 GB, free: 3.918 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.955e-05/0.3038, allocations: 28.84 kB / 1.322 GB, free: 3.887 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.3038, allocations: 0 / 1.322 GB, free: 3.887 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.304, allocations: 91.3 kB / 1.322 GB, free: 3.785 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=12): time 1.133e-06/0.304, allocations: 4 kB / 1.322 GB, free: 3.781 MB / 1.014 GB
Notification: Performance of matching and sorting (n=12): time 0.0002778/0.3043, allocations: 133.6 kB / 1.322 GB, free: 3.645 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.3043, allocations: 59.39 kB / 1.322 GB, free: 3.574 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.3045, allocations: 192.3 kB / 1.322 GB, free: 3.375 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.3046, allocations: 29.7 kB / 1.322 GB, free: 3.34 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.881e-05/0.3047, allocations: 124.1 kB / 1.323 GB, free: 3.215 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.3047, allocations: 27.8 kB / 1.323 GB, free: 3.188 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-05/0.3048, allocations: 53.62 kB / 1.323 GB, free: 3.129 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001346/0.3049, allocations: 326.8 kB / 1.323 GB, free: 2.801 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.764e-05/0.305, allocations: 27.98 kB / 1.323 GB, free: 2.773 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.3052, allocations: 117.7 kB / 1.323 GB, free: 2.633 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.3053, allocations: 87.36 kB / 1.323 GB, free: 2.535 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3053, allocations: 0 / 1.323 GB, free: 2.535 MB / 1.014 GB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002174/0.3055, allocations: 137.5 kB / 1.323 GB, free: 2.395 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3055, allocations: 8 kB / 1.323 GB, free: 2.387 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3056, allocations: 3.938 kB / 1.323 GB, free: 2.383 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3056, allocations: 8.109 kB / 1.323 GB, free: 2.375 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/0.3056, allocations: 15.94 kB / 1.323 GB, free: 2.359 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.3056, allocations: 3.984 kB / 1.323 GB, free: 2.355 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.3058, allocations: 27.88 kB / 1.323 GB, free: 2.328 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.3058, allocations: 4 kB / 1.323 GB, free: 2.324 MB / 1.014 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.0001171/0.306, allocations: 125.8 kB / 1.323 GB, free: 2.191 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.306, allocations: 19.84 kB / 1.324 GB, free: 2.172 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.984e-05/0.306, allocations: 21.33 kB / 1.324 GB, free: 2.145 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.306, allocations: 8 kB / 1.324 GB, free: 2.137 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.306, allocations: 0 / 1.324 GB, free: 2.137 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.306, allocations: 0 / 1.324 GB, free: 2.137 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005101/0.3066, allocations: 409.2 kB / 1.324 GB, free: 1.688 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3066, allocations: 0 / 1.324 GB, free: 1.688 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.296e-05/0.3066, allocations: 8 kB / 1.324 GB, free: 1.68 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3066, allocations: 0 / 1.324 GB, free: 1.68 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3066, allocations: 4 kB / 1.324 GB, free: 1.676 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3066, allocations: 4 kB / 1.324 GB, free: 1.672 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3066, allocations: 4 kB / 1.324 GB, free: 1.668 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.3068, allocations: 203.3 kB / 1.324 GB, free: 1.453 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/0.3068, allocations: 19.89 kB / 1.324 GB, free: 1.434 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.3068, allocations: 0 / 1.324 GB, free: 1.434 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-05/0.3069, allocations: 11.92 kB / 1.324 GB, free: 1.422 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.307, allocations: 15.92 kB / 1.324 GB, free: 1.406 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.307, allocations: 8 kB / 1.324 GB, free: 1.398 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001138/0.3071, allocations: 136.1 kB / 1.324 GB, free: 1.266 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.3071, allocations: 0 / 1.324 GB, free: 1.266 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002772/0.3074, allocations: 43.94 kB / 1.324 GB, free: 1.223 MB / 1.014 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.0003208/0.3077, allocations: 159.6 kB / 1.325 GB, free: 1.082 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001881/0.3079, allocations: 75.84 kB / 1.325 GB, free: 1.008 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3079, allocations: 0 / 1.325 GB, free: 1.008 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 6.912e-05/0.308, allocations: 39.92 kB / 1.325 GB, free: 0.9688 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.3084, allocations: 56.91 kB / 1.325 GB, free: 0.918 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005196/0.3089, allocations: 278.6 kB / 1.325 GB, free: 0.6211 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.3092, allocations: 0.7163 MB / 1.326 GB, free: 15.88 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 5.937e-05/0.3093, allocations: 21.47 kB / 1.326 GB, free: 15.86 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.3093, allocations: 27.42 kB / 1.326 GB, free: 15.83 MB / 1.029 GB
Notification: Performance of SimCode: time 3e-07/0.3093, allocations: 0 / 1.326 GB, free: 15.83 MB / 1.029 GB
Notification: Performance of Templates: time 0.00708/0.3164, allocations: 3.347 MB / 1.329 GB, free: 12.52 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300]
(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=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 800]
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) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 7.916985837742686]