Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001574/0.001574, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002178/0.002178, allocations: 189.1 kB / 22.11 MB, free: 4.344 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.468/1.468, allocations: 225.6 MB / 250.8 MB, free: 2.926 MB / 190.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 2.908/2.908, allocations: 495.8 MB / 0.7831 GB, free: 12.33 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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 63.89 kB / 1.137 GB, free: 10.21 MB / 0.8731 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8724/0.8745, allocations: 173.6 MB / 1.307 GB, free: 0.9453 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003418/0.878, allocations: 1.763 MB / 1.308 GB, free: 15.72 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001784/0.8798, allocations: 0.9245 MB / 1.309 GB, free: 15.1 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.8799, allocations: 5.031 kB / 1.309 GB, free: 15.1 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.8801, allocations: 31.78 kB / 1.309 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0004565/0.8805, allocations: 117.3 kB / 1.31 GB, free: 15.01 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.881, allocations: 152.3 kB / 1.31 GB, free: 14.94 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0003708/0.8814, allocations: 247.1 kB / 1.31 GB, free: 14.83 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.8815, allocations: 28.11 kB / 1.31 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.8817, allocations: 121 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.01685/0.8986, allocations: 1.996 MB / 1.312 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.8987, allocations: 21.47 kB / 1.312 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/0.899, allocations: 38.7 kB / 1.312 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.8991, allocations: 48.09 kB / 1.312 GB, free: 14.17 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.000231/0.8993, allocations: 87.47 kB / 1.312 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006603/0.9, allocations: 221.6 kB / 1.312 GB, free: 14.03 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.9, allocations: 0 / 1.312 GB, free: 14.03 MB / 1.014 GB
Notification: Performance of FrontEnd: time 3.306e-06/0.9, allocations: 0 / 1.312 GB, free: 14.03 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 9.998e-06/0.9, allocations: 1.219 kB / 1.312 GB, free: 14.03 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.001261/0.9013, allocations: 499.1 kB / 1.313 GB, free: 13.61 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/0.9014, allocations: 9.719 kB / 1.313 GB, free: 13.61 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.9015, allocations: 21.28 kB / 1.313 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.9018, allocations: 181.8 kB / 1.313 GB, free: 13.44 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.9019, allocations: 12.33 kB / 1.313 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.03e-05/0.9019, allocations: 17.56 kB / 1.313 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.9022, allocations: 113.7 kB / 1.313 GB, free: 13.36 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.9022, allocations: 7.938 kB / 1.313 GB, free: 13.35 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.9022, allocations: 5.562 kB / 1.313 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.9022, allocations: 7.609 kB / 1.313 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.9024, allocations: 52.11 kB / 1.313 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.9034, allocations: 0.5021 MB / 1.314 GB, free: 12.94 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.9036, allocations: 93.81 kB / 1.314 GB, free: 12.87 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.384e-05/0.9037, allocations: 35.09 kB / 1.314 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.9037, allocations: 1.406 kB / 1.314 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003852/0.9041, allocations: 140 kB / 1.314 GB, free: 12.74 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.9041, allocations: 0 / 1.314 GB, free: 12.74 MB / 1.014 GB
Notification: Performance of matching and sorting (n=15): time 0.0004161/0.9045, allocations: 162.8 kB / 1.314 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.9046, allocations: 79.92 kB / 1.314 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.9049, allocations: 202.3 kB / 1.314 GB, free: 12.43 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 4.423e-05/0.9049, allocations: 33.38 kB / 1.314 GB, free: 12.4 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.905, allocations: 127 kB / 1.315 GB, free: 12.29 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.9051, allocations: 35.22 kB / 1.315 GB, free: 12.26 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.9052, allocations: 59.73 kB / 1.315 GB, free: 12.23 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001563/0.9053, allocations: 329.8 kB / 1.315 GB, free: 11.91 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.9054, allocations: 33.92 kB / 1.315 GB, free: 11.89 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/0.9057, allocations: 139.8 kB / 1.315 GB, free: 11.78 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.9059, allocations: 111.5 kB / 1.315 GB, free: 11.69 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.9059, allocations: 2.078 kB / 1.315 GB, free: 11.69 MB / 1.014 GB
Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002699/0.9061, allocations: 155.4 kB / 1.315 GB, free: 11.61 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.9062, allocations: 12.55 kB / 1.315 GB, free: 11.6 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.9062, allocations: 2.031 kB / 1.315 GB, free: 11.6 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.9062, allocations: 2.125 kB / 1.315 GB, free: 11.6 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.822e-05/0.9063, allocations: 20.19 kB / 1.315 GB, free: 11.59 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.9063, allocations: 7.141 kB / 1.315 GB, free: 11.59 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.9065, allocations: 31.64 kB / 1.315 GB, free: 11.57 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.9065, allocations: 14.25 kB / 1.316 GB, free: 11.56 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.0001586/0.9067, allocations: 144.6 kB / 1.316 GB, free: 11.43 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.9067, allocations: 17.66 kB / 1.316 GB, free: 11.42 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.435e-05/0.9068, allocations: 21.02 kB / 1.316 GB, free: 11.39 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.9068, allocations: 1.406 kB / 1.316 GB, free: 11.39 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.9068, allocations: 1.219 kB / 1.316 GB, free: 11.39 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.9068, allocations: 0 / 1.316 GB, free: 11.39 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006792/0.9075, allocations: 445 kB / 1.316 GB, free: 11 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.9075, allocations: 0.9375 kB / 1.316 GB, free: 11 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.836e-05/0.9075, allocations: 7.469 kB / 1.316 GB, free: 11 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.9075, allocations: 1.062 kB / 1.316 GB, free: 11 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.9075, allocations: 1.125 kB / 1.316 GB, free: 11 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.9075, allocations: 6.094 kB / 1.316 GB, free: 11 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.9075, allocations: 0 / 1.316 GB, free: 11 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.9078, allocations: 237.2 kB / 1.316 GB, free: 10.81 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.9078, allocations: 24.94 kB / 1.316 GB, free: 10.79 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.9079, allocations: 5.078 kB / 1.316 GB, free: 10.79 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.908, allocations: 19.17 kB / 1.316 GB, free: 10.77 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.138e-05/0.9081, allocations: 16 kB / 1.316 GB, free: 10.77 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.9081, allocations: 9.312 kB / 1.316 GB, free: 10.76 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001488/0.9083, allocations: 146 kB / 1.317 GB, free: 10.65 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.9083, allocations: 4.719 kB / 1.317 GB, free: 10.65 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003368/0.9086, allocations: 47.48 kB / 1.317 GB, free: 10.64 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.0004287/0.909, allocations: 168.8 kB / 1.317 GB, free: 10.52 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002624/0.9093, allocations: 101.9 kB / 1.317 GB, free: 10.47 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9093, allocations: 0 / 1.317 GB, free: 10.47 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 9.576e-05/0.9094, allocations: 39.95 kB / 1.317 GB, free: 10.46 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.9099, allocations: 60.8 kB / 1.317 GB, free: 10.43 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006228/0.9105, allocations: 304.8 kB / 1.317 GB, free: 10.2 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.9108, allocations: 0.7325 MB / 1.318 GB, free: 9.469 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 9.238e-05/0.9109, allocations: 23.19 kB / 1.318 GB, free: 9.457 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.517e-05/0.911, allocations: 24.11 kB / 1.318 GB, free: 9.445 MB / 1.014 GB
Notification: Performance of SimCode: time 3.7e-07/0.911, allocations: 0 / 1.318 GB, free: 9.445 MB / 1.014 GB
Notification: Performance of Templates: time 0.009644/0.9206, allocations: 3.733 MB / 1.322 GB, free: 7.57 MB / 1.014 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.330556571483612]