Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.001332/0.001332, 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.001391/0.001391, allocations: 190.5 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.378/1.378, allocations: 225.6 MB / 251 MB, free: 13.04 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.045/3.045, allocations: 495.7 MB / 0.7831 GB, free: 33.41 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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput")
translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 69.11 kB / 1.137 GB, free: 33.93 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3542, allocations: 173.6 MB / 1.307 GB, free: 1.969 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003531/0.3577, allocations: 1.77 MB / 1.309 GB, free: 188 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001722/0.3594, allocations: 0.9125 MB / 1.31 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.875e-05/0.3595, allocations: 4 kB / 1.31 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.3597, allocations: 27.66 kB / 1.31 GB, free: 15.24 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0004106/0.3601, allocations: 123.4 kB / 1.31 GB, free: 15.12 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.3605, allocations: 155.7 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0003378/0.3609, allocations: 247.3 kB / 1.31 GB, free: 14.72 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.361, allocations: 33.73 kB / 1.31 GB, free: 14.69 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.3611, allocations: 119.6 kB / 1.31 GB, free: 14.57 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.01306/0.3742, allocations: 1.665 MB / 1.312 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 8.055e-05/0.3743, allocations: 16 kB / 1.312 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.3744, allocations: 43.98 kB / 1.312 GB, free: 13.28 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 8.584e-05/0.3745, allocations: 35.84 kB / 1.312 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.3747, allocations: 103.5 kB / 1.312 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004397/0.3751, allocations: 223.1 kB / 1.312 GB, free: 12.93 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3751, allocations: 0 / 1.312 GB, free: 12.93 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.643e-06/0.3751, allocations: 0 / 1.312 GB, free: 12.93 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.991e-06/0.3751, allocations: 0 / 1.312 GB, free: 12.93 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.0008984/0.376, allocations: 492.7 kB / 1.313 GB, free: 12.4 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.3761, allocations: 8.031 kB / 1.313 GB, free: 12.39 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.247e-05/0.3761, allocations: 24.84 kB / 1.313 GB, free: 12.37 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.3764, allocations: 190.6 kB / 1.313 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.3765, allocations: 8 kB / 1.313 GB, free: 12.15 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.3765, allocations: 19.98 kB / 1.313 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.3768, allocations: 113.7 kB / 1.313 GB, free: 12.01 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3768, allocations: 3.984 kB / 1.313 GB, free: 12.01 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.3768, allocations: 4 kB / 1.313 GB, free: 12 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.3768, allocations: 7.984 kB / 1.313 GB, free: 12 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.3769, allocations: 55.97 kB / 1.313 GB, free: 11.94 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009324/0.3779, allocations: 0.5036 MB / 1.314 GB, free: 11.39 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.3781, allocations: 97.25 kB / 1.314 GB, free: 11.28 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 6.356e-05/0.3781, allocations: 33.78 kB / 1.314 GB, free: 11.24 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.3781, allocations: 3.984 kB / 1.314 GB, free: 11.23 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002839/0.3784, allocations: 135.4 kB / 1.314 GB, free: 11.09 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.3784, allocations: 0 / 1.314 GB, free: 11.09 MB / 1.014 GB
Notification: Performance of matching and sorting (n=15): time 0.0003716/0.3788, allocations: 157.6 kB / 1.314 GB, free: 10.93 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.3789, allocations: 85.05 kB / 1.314 GB, free: 10.82 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.3791, allocations: 207.4 kB / 1.314 GB, free: 10.61 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 4.99e-05/0.3791, allocations: 33.7 kB / 1.314 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.3792, allocations: 116.5 kB / 1.314 GB, free: 10.45 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.3793, allocations: 43.67 kB / 1.315 GB, free: 10.41 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3794, allocations: 61.8 kB / 1.315 GB, free: 10.34 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001567/0.3795, allocations: 326.8 kB / 1.315 GB, free: 10.02 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.429e-05/0.3796, allocations: 31.98 kB / 1.315 GB, free: 9.984 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.3799, allocations: 141.3 kB / 1.315 GB, free: 9.812 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.38, allocations: 117.1 kB / 1.315 GB, free: 9.68 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.38, allocations: 0 / 1.315 GB, free: 9.68 MB / 1.014 GB
Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002797/0.3803, allocations: 165.4 kB / 1.315 GB, free: 9.512 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3803, allocations: 4 kB / 1.315 GB, free: 9.508 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3803, allocations: 7.922 kB / 1.315 GB, free: 9.5 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3804, allocations: 8 kB / 1.315 GB, free: 9.492 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.192e-05/0.3805, allocations: 15.94 kB / 1.315 GB, free: 9.477 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3805, allocations: 4 kB / 1.315 GB, free: 9.473 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.3807, allocations: 27.88 kB / 1.315 GB, free: 9.445 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.779e-05/0.3808, allocations: 11.98 kB / 1.315 GB, free: 9.434 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.0001482/0.3809, allocations: 143.6 kB / 1.316 GB, free: 9.285 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.381, allocations: 15.91 kB / 1.316 GB, free: 9.27 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.162e-05/0.381, allocations: 25.45 kB / 1.316 GB, free: 9.242 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.381, allocations: 0 / 1.316 GB, free: 9.242 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.381, allocations: 4 kB / 1.316 GB, free: 9.238 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.381, allocations: 0 / 1.316 GB, free: 9.238 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006374/0.3817, allocations: 433.3 kB / 1.316 GB, free: 8.766 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3817, allocations: 8 kB / 1.316 GB, free: 8.758 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.193e-05/0.3817, allocations: 0 / 1.316 GB, free: 8.758 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3817, allocations: 4 kB / 1.316 GB, free: 8.754 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3817, allocations: 0 / 1.316 GB, free: 8.754 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.3817, allocations: 7.938 kB / 1.316 GB, free: 8.746 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3817, allocations: 96 / 1.316 GB, free: 8.746 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.382, allocations: 236.1 kB / 1.316 GB, free: 8.496 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.382, allocations: 19.91 kB / 1.316 GB, free: 8.477 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.382, allocations: 4 kB / 1.316 GB, free: 8.473 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.3822, allocations: 19.91 kB / 1.316 GB, free: 8.453 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.3822, allocations: 19.97 kB / 1.316 GB, free: 8.434 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.3823, allocations: 4 kB / 1.316 GB, free: 8.43 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001409/0.3824, allocations: 149.2 kB / 1.316 GB, free: 8.285 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.3824, allocations: 0 / 1.316 GB, free: 8.285 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003169/0.3827, allocations: 51.89 kB / 1.316 GB, free: 8.234 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.0003787/0.3831, allocations: 167.1 kB / 1.317 GB, free: 8.086 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002427/0.3833, allocations: 99.81 kB / 1.317 GB, free: 7.988 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3833, allocations: 0 / 1.317 GB, free: 7.988 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 9.547e-05/0.3834, allocations: 47.92 kB / 1.317 GB, free: 7.941 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.3839, allocations: 59.09 kB / 1.317 GB, free: 7.891 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000682/0.3845, allocations: 329.7 kB / 1.317 GB, free: 7.543 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.3849, allocations: 0.7203 MB / 1.318 GB, free: 6.797 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 7.762e-05/0.385, allocations: 21.58 kB / 1.318 GB, free: 6.773 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.235e-05/0.3851, allocations: 35.42 kB / 1.318 GB, free: 6.738 MB / 1.014 GB
Notification: Performance of SimCode: time 3.61e-07/0.3851, allocations: 0 / 1.318 GB, free: 6.738 MB / 1.014 GB
Notification: Performance of Templates: time 0.00847/0.3935, allocations: 3.732 MB / 1.322 GB, free: 3.031 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.743391397409141]