Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.001814/0.001814, allocations: 114.2 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.002214/0.002214, allocations: 189 kB / 22.22 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.508/1.508, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.219/3.219, allocations: 496 MB / 0.7835 GB, free: 33.56 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput")
translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 64.52 kB / 1.138 GB, free: 33.81 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3858, allocations: 173.6 MB / 1.307 GB, free: 1.816 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003433/0.3893, allocations: 1.764 MB / 1.309 GB, free: 40 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001742/0.391, allocations: 0.9202 MB / 1.31 GB, free: 15.12 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.941e-05/0.3911, allocations: 4 kB / 1.31 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.3913, allocations: 27.67 kB / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003954/0.3917, allocations: 123.4 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004048/0.3921, allocations: 162.6 kB / 1.31 GB, free: 14.81 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0003389/0.3924, allocations: 243.4 kB / 1.31 GB, free: 14.57 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.3926, allocations: 25.75 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.3928, allocations: 119.6 kB / 1.311 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.01366/0.4064, allocations: 1.697 MB / 1.312 GB, free: 13.18 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 7.688e-05/0.4065, allocations: 16 kB / 1.312 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.4066, allocations: 43.98 kB / 1.312 GB, free: 13.12 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 7.961e-05/0.4067, allocations: 47.83 kB / 1.312 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.4068, allocations: 91.52 kB / 1.312 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003988/0.4072, allocations: 223.1 kB / 1.313 GB, free: 12.76 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4072, allocations: 0 / 1.313 GB, free: 12.76 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.262e-06/0.4072, allocations: 0 / 1.313 GB, free: 12.76 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.641e-06/0.4072, allocations: 0 / 1.313 GB, free: 12.76 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: 19
 * Number of variables: 19
Notification: Performance of Generate backend data structure: time 0.0008788/0.4081, allocations: 492.7 kB / 1.313 GB, free: 12.24 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.4082, allocations: 8.922 kB / 1.313 GB, free: 12.23 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.022e-05/0.4082, allocations: 32.77 kB / 1.313 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.4085, allocations: 182.7 kB / 1.313 GB, free: 12 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.4086, allocations: 12 kB / 1.313 GB, free: 11.98 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.4086, allocations: 16 kB / 1.313 GB, free: 11.97 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.4088, allocations: 85.61 kB / 1.313 GB, free: 11.88 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4088, allocations: 0 / 1.313 GB, free: 11.88 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.4088, allocations: 11.98 kB / 1.313 GB, free: 11.87 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4088, allocations: 0 / 1.313 GB, free: 11.87 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.4089, allocations: 62.14 kB / 1.313 GB, free: 11.81 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008383/0.4098, allocations: 423.5 kB / 1.314 GB, free: 11.35 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.4102, allocations: 138.6 kB / 1.314 GB, free: 11.21 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 6.271e-05/0.4103, allocations: 28.84 kB / 1.314 GB, free: 11.18 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.4103, allocations: 4 kB / 1.314 GB, free: 11.17 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.4105, allocations: 119.4 kB / 1.314 GB, free: 11.04 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.4105, allocations: 0 / 1.314 GB, free: 11.04 MB / 1.014 GB
Notification: Performance of matching and sorting (n=16): time 0.0003523/0.4109, allocations: 157.5 kB / 1.314 GB, free: 10.88 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.4109, allocations: 59.39 kB / 1.314 GB, free: 10.81 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.4111, allocations: 199.5 kB / 1.315 GB, free: 10.61 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.4112, allocations: 33.7 kB / 1.315 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.432e-05/0.4113, allocations: 120.5 kB / 1.315 GB, free: 10.45 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.4113, allocations: 39.69 kB / 1.315 GB, free: 10.41 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.4114, allocations: 57.67 kB / 1.315 GB, free: 10.34 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001529/0.4116, allocations: 334.8 kB / 1.315 GB, free: 10.01 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.7e-05/0.4116, allocations: 27.98 kB / 1.315 GB, free: 9.98 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.4119, allocations: 136.9 kB / 1.315 GB, free: 9.82 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.412, allocations: 96.22 kB / 1.315 GB, free: 9.711 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.412, allocations: 4 kB / 1.315 GB, free: 9.707 MB / 1.014 GB
Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002666/0.4123, allocations: 149.4 kB / 1.316 GB, free: 9.555 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.4123, allocations: 10.81 kB / 1.316 GB, free: 9.547 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4123, allocations: 0 / 1.316 GB, free: 9.547 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4124, allocations: 8.125 kB / 1.316 GB, free: 9.539 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.46e-05/0.4124, allocations: 15.98 kB / 1.316 GB, free: 9.523 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4124, allocations: 0 / 1.316 GB, free: 9.523 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.4126, allocations: 31.81 kB / 1.316 GB, free: 9.492 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.4127, allocations: 15.94 kB / 1.316 GB, free: 9.477 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: 19 ($whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,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,$whenCondition4,$whenCondition5)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (22):
 * Single equations (assignments): 22
 * 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.0001502/0.4128, allocations: 139.5 kB / 1.316 GB, free: 9.332 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.4128, allocations: 15.91 kB / 1.316 GB, free: 9.316 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/0.4129, allocations: 21.81 kB / 1.316 GB, free: 9.293 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4129, allocations: 11.92 kB / 1.316 GB, free: 9.281 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4129, allocations: 0 / 1.316 GB, free: 9.281 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4129, allocations: 0 / 1.316 GB, free: 9.281 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007252/0.4136, allocations: 467.8 kB / 1.316 GB, free: 8.777 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4136, allocations: 0 / 1.316 GB, free: 8.777 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.706e-05/0.4136, allocations: 7.938 kB / 1.316 GB, free: 8.77 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4137, allocations: 0 / 1.316 GB, free: 8.77 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.4137, allocations: 15.98 kB / 1.316 GB, free: 8.754 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.4137, allocations: 7.938 kB / 1.316 GB, free: 8.746 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4137, allocations: 0 / 1.316 GB, free: 8.746 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.4139, allocations: 223.4 kB / 1.316 GB, free: 8.512 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/0.414, allocations: 15.89 kB / 1.316 GB, free: 8.496 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.414, allocations: 4 kB / 1.316 GB, free: 8.492 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.4141, allocations: 15.92 kB / 1.316 GB, free: 8.477 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.744e-05/0.4142, allocations: 23.91 kB / 1.317 GB, free: 8.453 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.4142, allocations: 11.98 kB / 1.317 GB, free: 8.441 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001462/0.4144, allocations: 149.2 kB / 1.317 GB, free: 8.297 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1.2e-07/0.4144, allocations: 0 / 1.317 GB, free: 8.297 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003164/0.4147, allocations: 47.95 kB / 1.317 GB, free: 8.25 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: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (16):
 * Single equations (assignments): 12
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 4
 * 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.0003911/0.4151, allocations: 169 kB / 1.317 GB, free: 8.098 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002435/0.4153, allocations: 98.3 kB / 1.317 GB, free: 8.004 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4153, allocations: 0 / 1.317 GB, free: 8.004 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 9.702e-05/0.4154, allocations: 52.11 kB / 1.317 GB, free: 7.953 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.4158, allocations: 60.19 kB / 1.317 GB, free: 7.898 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000703/0.4165, allocations: 315 kB / 1.317 GB, free: 7.566 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.4169, allocations: 0.7203 MB / 1.318 GB, free: 6.82 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 7.647e-05/0.417, allocations: 21.62 kB / 1.318 GB, free: 6.801 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.4171, allocations: 31.36 kB / 1.318 GB, free: 6.77 MB / 1.014 GB
Notification: Performance of SimCode: time 4.11e-07/0.4171, allocations: 0 / 1.318 GB, free: 6.77 MB / 1.014 GB
Notification: Performance of Templates: time 0.008685/0.4258, allocations: 3.811 MB / 1.322 GB, free: 2.984 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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: 9.308231808245182]