Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.001602/0.001602, allocations: 112.7 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.001916/0.001916, allocations: 190 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.484/1.484, allocations: 225.6 MB / 251 MB, free: 13.05 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.269/3.269, allocations: 496 MB / 0.7835 GB, free: 33.84 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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff")
translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 60.84 kB / 1.138 GB, free: 33.85 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3403, allocations: 173.6 MB / 1.307 GB, free: 1.855 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003425/0.3437, allocations: 1.77 MB / 1.309 GB, free: 76 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.00181/0.3455, allocations: 0.9125 MB / 1.31 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.59e-05/0.3456, allocations: 0 / 1.31 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.3458, allocations: 35.66 kB / 1.31 GB, free: 15.12 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.3462, allocations: 123.4 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.3466, allocations: 159.6 kB / 1.31 GB, free: 14.85 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0003309/0.347, allocations: 239.4 kB / 1.31 GB, free: 14.61 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.3471, allocations: 29.73 kB / 1.31 GB, free: 14.58 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.3472, allocations: 115.7 kB / 1.311 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.01671/0.3639, allocations: 2.04 MB / 1.313 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 7.78e-05/0.364, allocations: 16 kB / 1.313 GB, free: 12.96 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.3641, allocations: 40 kB / 1.313 GB, free: 12.92 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 8.398e-05/0.3642, allocations: 39.83 kB / 1.313 GB, free: 12.88 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.3644, allocations: 95.5 kB / 1.313 GB, free: 12.79 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.000413/0.3648, allocations: 219.1 kB / 1.313 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3648, allocations: 0 / 1.313 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.363e-06/0.3648, allocations: 0 / 1.313 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.159e-05/0.3648, allocations: 0 / 1.313 GB, free: 12.57 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.000878/0.3657, allocations: 496.7 kB / 1.313 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3657, allocations: 8.922 kB / 1.313 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.312e-05/0.3658, allocations: 20.84 kB / 1.313 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.3661, allocations: 186.6 kB / 1.314 GB, free: 11.81 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.3661, allocations: 11.98 kB / 1.314 GB, free: 11.8 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.3661, allocations: 16 kB / 1.314 GB, free: 11.78 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.3664, allocations: 97.59 kB / 1.314 GB, free: 11.68 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3664, allocations: 8 kB / 1.314 GB, free: 11.67 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3664, allocations: 0 / 1.314 GB, free: 11.67 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.3664, allocations: 3.938 kB / 1.314 GB, free: 11.67 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.3665, allocations: 55.91 kB / 1.314 GB, free: 11.61 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008272/0.3673, allocations: 431.5 kB / 1.314 GB, free: 11.15 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/0.3678, allocations: 130.6 kB / 1.314 GB, free: 11.01 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/0.3679, allocations: 28.84 kB / 1.314 GB, free: 10.98 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.3679, allocations: 4 kB / 1.314 GB, free: 10.98 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000307/0.3682, allocations: 119.4 kB / 1.314 GB, free: 10.85 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.3682, allocations: 3.938 kB / 1.314 GB, free: 10.84 MB / 1.014 GB
Notification: Performance of matching and sorting (n=16): time 0.0003707/0.3686, allocations: 157.5 kB / 1.315 GB, free: 10.68 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.3686, allocations: 59.41 kB / 1.315 GB, free: 10.61 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.3688, allocations: 199.5 kB / 1.315 GB, free: 10.41 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.3689, allocations: 33.7 kB / 1.315 GB, free: 10.37 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.369, allocations: 124.5 kB / 1.315 GB, free: 10.24 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.369, allocations: 43.69 kB / 1.315 GB, free: 10.2 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.676e-05/0.3691, allocations: 53.69 kB / 1.315 GB, free: 10.14 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001605/0.3693, allocations: 330.8 kB / 1.315 GB, free: 9.809 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.346e-05/0.3693, allocations: 31.98 kB / 1.315 GB, free: 9.777 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.3696, allocations: 135.5 kB / 1.316 GB, free: 9.617 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.3697, allocations: 94.58 kB / 1.316 GB, free: 9.512 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3697, allocations: 0 / 1.316 GB, free: 9.512 MB / 1.014 GB
Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002764/0.37, allocations: 153.5 kB / 1.316 GB, free: 9.355 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.37, allocations: 11.94 kB / 1.316 GB, free: 9.344 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.37, allocations: 0 / 1.316 GB, free: 9.344 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.37, allocations: 4 kB / 1.316 GB, free: 9.34 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/0.3701, allocations: 16 kB / 1.316 GB, free: 9.324 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3701, allocations: 0 / 1.316 GB, free: 9.324 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.3703, allocations: 27.86 kB / 1.316 GB, free: 9.297 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.3704, allocations: 12 kB / 1.316 GB, free: 9.285 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.0001418/0.3705, allocations: 139.5 kB / 1.316 GB, free: 9.141 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.3705, allocations: 23.91 kB / 1.316 GB, free: 9.117 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.001e-05/0.3706, allocations: 21.8 kB / 1.316 GB, free: 9.094 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3706, allocations: 0 / 1.316 GB, free: 9.094 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3706, allocations: 0 / 1.316 GB, free: 9.094 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3706, allocations: 7.938 kB / 1.316 GB, free: 9.086 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007293/0.3713, allocations: 468.8 kB / 1.317 GB, free: 8.582 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3713, allocations: 0 / 1.317 GB, free: 8.582 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.821e-05/0.3714, allocations: 15.92 kB / 1.317 GB, free: 8.566 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3714, allocations: 0 / 1.317 GB, free: 8.566 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.3714, allocations: 8 kB / 1.317 GB, free: 8.559 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3714, allocations: 7.875 kB / 1.317 GB, free: 8.551 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3714, allocations: 0 / 1.317 GB, free: 8.551 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.3716, allocations: 227.4 kB / 1.317 GB, free: 8.312 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.3717, allocations: 11.91 kB / 1.317 GB, free: 8.301 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.3717, allocations: 8 kB / 1.317 GB, free: 8.293 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.3718, allocations: 15.92 kB / 1.317 GB, free: 8.277 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.359e-05/0.3719, allocations: 27.89 kB / 1.317 GB, free: 8.25 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.3719, allocations: 12 kB / 1.317 GB, free: 8.238 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001383/0.3721, allocations: 141.2 kB / 1.317 GB, free: 8.102 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.3721, allocations: 0 / 1.317 GB, free: 8.102 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003159/0.3724, allocations: 47.95 kB / 1.317 GB, free: 8.055 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.0003854/0.3728, allocations: 167.5 kB / 1.317 GB, free: 7.906 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002459/0.373, allocations: 105.8 kB / 1.317 GB, free: 7.805 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.373, allocations: 0 / 1.317 GB, free: 7.805 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.3731, allocations: 47.86 kB / 1.317 GB, free: 7.758 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.3736, allocations: 67.25 kB / 1.317 GB, free: 7.695 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005967/0.3742, allocations: 287.1 kB / 1.318 GB, free: 7.391 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.3745, allocations: 0.7245 MB / 1.318 GB, free: 6.641 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 7.84e-05/0.3746, allocations: 21.64 kB / 1.318 GB, free: 6.621 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.862e-05/0.3747, allocations: 27.42 kB / 1.318 GB, free: 6.594 MB / 1.014 GB
Notification: Performance of SimCode: time 3e-07/0.3747, allocations: 0 / 1.318 GB, free: 6.594 MB / 1.014 GB
Notification: Performance of Templates: time 0.008882/0.3835, allocations: 3.802 MB / 1.322 GB, free: 2.824 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.086101412773132]