Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.001938/0.001938, allocations: 110 kB / 18.93 MB, free: 2.945 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.001752/0.001752, allocations: 192 kB / 22.23 MB, free: 5.16 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.457/1.457, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
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 3.177/3.177, allocations: 495.7 MB / 0.7831 GB, free: 33.61 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-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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff")
translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 63.77 kB / 1.137 GB, free: 33.79 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.375, allocations: 173.6 MB / 1.307 GB, free: 1.898 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003343/0.3783, allocations: 1.77 MB / 1.309 GB, free: 116 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001763/0.3801, allocations: 0.9124 MB / 1.31 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.848e-05/0.3801, allocations: 7.938 kB / 1.31 GB, free: 15.19 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.3803, allocations: 27.72 kB / 1.31 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003878/0.3807, allocations: 127.4 kB / 1.31 GB, free: 15.04 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.3811, allocations: 149.6 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0003223/0.3814, allocations: 243.5 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.3816, allocations: 37.72 kB / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.3817, allocations: 107.6 kB / 1.31 GB, free: 14.51 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.01605/0.3978, allocations: 2.002 MB / 1.312 GB, free: 13.04 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 8.544e-05/0.3979, allocations: 16 kB / 1.312 GB, free: 13.02 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.398, allocations: 36 kB / 1.312 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 8.035e-05/0.3981, allocations: 43.83 kB / 1.312 GB, free: 12.95 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.3982, allocations: 91.56 kB / 1.312 GB, free: 12.86 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.3986, allocations: 223 kB / 1.313 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3986, allocations: 3.984 kB / 1.313 GB, free: 12.63 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.934e-06/0.3986, allocations: 0 / 1.313 GB, free: 12.63 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.115e-05/0.3986, allocations: 0 / 1.313 GB, free: 12.63 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: 20
 * Number of variables: 20
Notification: Performance of Generate backend data structure: time 0.0008989/0.3995, allocations: 0.489 MB / 1.313 GB, free: 12.1 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3996, allocations: 8.031 kB / 1.313 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.75e-05/0.3996, allocations: 20.84 kB / 1.313 GB, free: 12.07 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.3999, allocations: 190.5 kB / 1.313 GB, free: 11.86 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.4, allocations: 8 kB / 1.313 GB, free: 11.86 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.4, allocations: 12 kB / 1.313 GB, free: 11.84 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.4002, allocations: 121.7 kB / 1.313 GB, free: 11.71 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4002, allocations: 4 kB / 1.313 GB, free: 11.71 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.4002, allocations: 7.984 kB / 1.313 GB, free: 11.7 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4003, allocations: 4 kB / 1.313 GB, free: 11.7 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.4004, allocations: 51.91 kB / 1.313 GB, free: 11.65 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009092/0.4013, allocations: 0.5114 MB / 1.314 GB, free: 11.09 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.4015, allocations: 85.14 kB / 1.314 GB, free: 10.99 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.613e-05/0.4016, allocations: 41.89 kB / 1.314 GB, free: 10.94 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.4016, allocations: 4 kB / 1.314 GB, free: 10.94 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002885/0.4019, allocations: 129 kB / 1.314 GB, free: 10.79 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.4019, allocations: 0 / 1.314 GB, free: 10.79 MB / 1.014 GB
Notification: Performance of matching and sorting (n=15): time 0.0003686/0.4022, allocations: 165.2 kB / 1.314 GB, free: 10.63 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.4023, allocations: 81.11 kB / 1.314 GB, free: 10.53 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.4025, allocations: 211.5 kB / 1.315 GB, free: 10.31 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 4.5e-05/0.4026, allocations: 29.7 kB / 1.315 GB, free: 10.28 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.4027, allocations: 124.5 kB / 1.315 GB, free: 10.15 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.4027, allocations: 39.69 kB / 1.315 GB, free: 10.11 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.4028, allocations: 61.67 kB / 1.315 GB, free: 10.05 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001471/0.403, allocations: 326.8 kB / 1.315 GB, free: 9.719 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.998e-05/0.403, allocations: 27.98 kB / 1.315 GB, free: 9.691 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.4033, allocations: 152.3 kB / 1.315 GB, free: 9.512 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.4035, allocations: 110 kB / 1.315 GB, free: 9.383 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.4035, allocations: 4 kB / 1.315 GB, free: 9.379 MB / 1.014 GB
Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002818/0.4038, allocations: 157.4 kB / 1.316 GB, free: 9.219 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.4038, allocations: 7.938 kB / 1.316 GB, free: 9.211 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4038, allocations: 4 kB / 1.316 GB, free: 9.207 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.4038, allocations: 0 / 1.316 GB, free: 9.207 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.588e-05/0.4039, allocations: 20.08 kB / 1.316 GB, free: 9.188 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.4039, allocations: 8 kB / 1.316 GB, free: 9.18 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.4042, allocations: 31.81 kB / 1.316 GB, free: 9.148 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.4042, allocations: 8 kB / 1.316 GB, free: 9.141 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 7
 * Number of states: 0 ()
 * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal)
 * 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.0001785/0.4043, allocations: 139.5 kB / 1.316 GB, free: 8.996 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.4044, allocations: 15.91 kB / 1.316 GB, free: 8.98 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.822e-05/0.4044, allocations: 25.39 kB / 1.316 GB, free: 8.953 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.4044, allocations: 4 kB / 1.316 GB, free: 8.949 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4045, allocations: 4 kB / 1.316 GB, free: 8.945 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4045, allocations: 0 / 1.316 GB, free: 8.945 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006731/0.4051, allocations: 433.3 kB / 1.316 GB, free: 8.473 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4051, allocations: 0 / 1.316 GB, free: 8.473 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-05/0.4052, allocations: 11.98 kB / 1.316 GB, free: 8.461 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4052, allocations: 0 / 1.316 GB, free: 8.461 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.4052, allocations: 0 / 1.316 GB, free: 8.461 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.4052, allocations: 7.938 kB / 1.316 GB, free: 8.453 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4052, allocations: 4 kB / 1.316 GB, free: 8.449 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.4054, allocations: 239.1 kB / 1.317 GB, free: 8.199 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.4055, allocations: 15.91 kB / 1.317 GB, free: 8.184 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.4055, allocations: 8 kB / 1.317 GB, free: 8.176 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.4056, allocations: 11.92 kB / 1.317 GB, free: 8.164 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/0.4057, allocations: 23.95 kB / 1.317 GB, free: 8.141 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.4057, allocations: 12 kB / 1.317 GB, free: 8.129 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001354/0.4059, allocations: 145.2 kB / 1.317 GB, free: 7.988 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.4059, allocations: 0 / 1.317 GB, free: 7.988 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003179/0.4062, allocations: 47.89 kB / 1.317 GB, free: 7.941 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (15):
 * Single equations (assignments): 11
 * 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.0004041/0.4066, allocations: 176.2 kB / 1.317 GB, free: 7.785 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002511/0.4068, allocations: 95.84 kB / 1.317 GB, free: 7.691 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4068, allocations: 0 / 1.317 GB, free: 7.691 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.407, allocations: 52.22 kB / 1.317 GB, free: 7.641 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.4074, allocations: 43.97 kB / 1.317 GB, free: 7.598 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005797/0.408, allocations: 299 kB / 1.317 GB, free: 7.281 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.4083, allocations: 0.7282 MB / 1.318 GB, free: 6.527 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 7.5e-05/0.4084, allocations: 21.64 kB / 1.318 GB, free: 6.504 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.042e-05/0.4084, allocations: 23.42 kB / 1.318 GB, free: 6.48 MB / 1.014 GB
Notification: Performance of SimCode: time 4.11e-07/0.4084, allocations: 0 / 1.318 GB, free: 6.48 MB / 1.014 GB
Notification: Performance of Templates: time 0.008351/0.4168, allocations: 3.751 MB / 1.322 GB, free: 2.766 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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: 8.943888423033059]