Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001616/0.001616, 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.001705/0.001705, allocations: 189.8 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.331/1.331, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 179]
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 2.927/2.927, allocations: 0.4893 GB / 0.7884 GB, free: 33.23 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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 72.48 kB / 1.145 GB, free: 30.6 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3064, allocations: 174.9 MB / 1.316 GB, free: 9.734 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003134/0.3095, allocations: 1.751 MB / 1.318 GB, free: 7.969 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001479/0.311, allocations: 0.9162 MB / 1.319 GB, free: 7.051 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.957e-05/0.3111, allocations: 11.88 kB / 1.319 GB, free: 7.039 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.3112, allocations: 31.72 kB / 1.319 GB, free: 7.008 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003399/0.3116, allocations: 119.5 kB / 1.319 GB, free: 6.891 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.3119, allocations: 151.7 kB / 1.319 GB, free: 6.742 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002945/0.3122, allocations: 247.4 kB / 1.319 GB, free: 6.5 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3123, allocations: 33.67 kB / 1.319 GB, free: 6.465 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.3125, allocations: 115.7 kB / 1.319 GB, free: 6.352 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.01542/0.3279, allocations: 2.027 MB / 1.321 GB, free: 4.867 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 8.453e-05/0.328, allocations: 23.94 kB / 1.321 GB, free: 4.844 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.3281, allocations: 32 kB / 1.321 GB, free: 4.812 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 7.562e-05/0.3282, allocations: 47.83 kB / 1.321 GB, free: 4.766 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.3283, allocations: 87.56 kB / 1.321 GB, free: 4.68 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.3287, allocations: 223.1 kB / 1.322 GB, free: 4.461 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3287, allocations: 3.984 kB / 1.322 GB, free: 4.457 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.924e-06/0.3287, allocations: 0 / 1.322 GB, free: 4.457 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.761e-06/0.3287, allocations: 3.938 kB / 1.322 GB, free: 4.453 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.0008222/0.3295, allocations: 492.7 kB / 1.322 GB, free: 3.93 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3295, allocations: 8.031 kB / 1.322 GB, free: 3.922 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.492e-05/0.3296, allocations: 20.84 kB / 1.322 GB, free: 3.902 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.3299, allocations: 185.7 kB / 1.322 GB, free: 3.695 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.3299, allocations: 11.94 kB / 1.322 GB, free: 3.684 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.33, allocations: 16 kB / 1.322 GB, free: 3.668 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.3301, allocations: 103.7 kB / 1.322 GB, free: 3.562 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3302, allocations: 0 / 1.322 GB, free: 3.562 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.3302, allocations: 3.984 kB / 1.322 GB, free: 3.559 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3302, allocations: 0 / 1.322 GB, free: 3.559 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.3303, allocations: 55.97 kB / 1.323 GB, free: 3.504 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007824/0.3311, allocations: 439.4 kB / 1.323 GB, free: 3.031 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.3315, allocations: 126.7 kB / 1.323 GB, free: 2.898 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.904e-05/0.3315, allocations: 32.84 kB / 1.323 GB, free: 2.863 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.3316, allocations: 4 kB / 1.323 GB, free: 2.859 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.3318, allocations: 111.3 kB / 1.323 GB, free: 2.738 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.3318, allocations: 0 / 1.323 GB, free: 2.738 MB / 1.014 GB
Notification: Performance of matching and sorting (n=16): time 0.0003512/0.3321, allocations: 161.7 kB / 1.323 GB, free: 2.574 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3322, allocations: 63.33 kB / 1.323 GB, free: 2.5 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.3324, allocations: 200.1 kB / 1.324 GB, free: 2.293 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.3324, allocations: 33.7 kB / 1.324 GB, free: 2.254 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.702e-05/0.3325, allocations: 120.5 kB / 1.324 GB, free: 2.133 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.3326, allocations: 39.69 kB / 1.324 GB, free: 2.094 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-05/0.3327, allocations: 53.69 kB / 1.324 GB, free: 2.035 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001404/0.3328, allocations: 334.8 kB / 1.324 GB, free: 1.699 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.701e-05/0.3329, allocations: 31.98 kB / 1.324 GB, free: 1.668 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.3331, allocations: 127.6 kB / 1.324 GB, free: 1.516 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.3332, allocations: 98.42 kB / 1.324 GB, free: 1.406 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3332, allocations: 3.938 kB / 1.324 GB, free: 1.402 MB / 1.014 GB
Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002454/0.3335, allocations: 157.3 kB / 1.325 GB, free: 1.242 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3335, allocations: 7.938 kB / 1.325 GB, free: 1.234 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3335, allocations: 0 / 1.325 GB, free: 1.234 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.3335, allocations: 8.125 kB / 1.325 GB, free: 1.227 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.484e-05/0.3336, allocations: 23.94 kB / 1.325 GB, free: 1.203 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3336, allocations: 0 / 1.325 GB, free: 1.203 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.3338, allocations: 31.86 kB / 1.325 GB, free: 1.172 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.3338, allocations: 8 kB / 1.325 GB, free: 1.164 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.0001314/0.334, allocations: 140.3 kB / 1.325 GB, free: 1.02 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.334, allocations: 15.91 kB / 1.325 GB, free: 1.004 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.057e-05/0.334, allocations: 21.8 kB / 1.325 GB, free: 0.9766 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.334, allocations: 4 kB / 1.325 GB, free: 0.9727 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.334, allocations: 4 kB / 1.325 GB, free: 0.9688 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3341, allocations: 0 / 1.325 GB, free: 0.9688 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006525/0.3347, allocations: 464.9 kB / 1.325 GB, free: 480 kB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3347, allocations: 0 / 1.325 GB, free: 480 kB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.74e-05/0.3347, allocations: 11.98 kB / 1.325 GB, free: 468 kB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3347, allocations: 0 / 1.325 GB, free: 468 kB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.3347, allocations: 4 kB / 1.325 GB, free: 464 kB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.3347, allocations: 7.938 kB / 1.325 GB, free: 456 kB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3347, allocations: 0 / 1.325 GB, free: 456 kB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.335, allocations: 231.3 kB / 1.326 GB, free: 208 kB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.335, allocations: 11.95 kB / 1.326 GB, free: 196 kB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.335, allocations: 11.98 kB / 1.326 GB, free: 184 kB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.3352, allocations: 11.92 kB / 1.326 GB, free: 172 kB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.3352, allocations: 27.89 kB / 1.326 GB, free: 144 kB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.3353, allocations: 16 kB / 1.326 GB, free: 128 kB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001387/0.3354, allocations: 140.2 kB / 1.326 GB, free: 15.99 MB / 1.029 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.3354, allocations: 0 / 1.326 GB, free: 15.99 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0002968/0.3357, allocations: 47.95 kB / 1.326 GB, free: 15.94 MB / 1.029 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.0003788/0.3361, allocations: 176.5 kB / 1.326 GB, free: 15.79 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.000244/0.3363, allocations: 102 kB / 1.326 GB, free: 15.69 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3363, allocations: 0 / 1.326 GB, free: 15.69 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 8.974e-05/0.3364, allocations: 44.17 kB / 1.326 GB, free: 15.64 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.3368, allocations: 58.84 kB / 1.326 GB, free: 15.59 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005408/0.3374, allocations: 295 kB / 1.326 GB, free: 15.28 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.3377, allocations: 0.7242 MB / 1.327 GB, free: 14.53 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 7.305e-05/0.3378, allocations: 29.56 kB / 1.327 GB, free: 14.5 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.3378, allocations: 27.42 kB / 1.327 GB, free: 14.48 MB / 1.029 GB
Notification: Performance of SimCode: time 3e-07/0.3378, allocations: 0 / 1.327 GB, free: 14.48 MB / 1.029 GB
Notification: Performance of Templates: time 0.00766/0.3455, allocations: 3.786 MB / 1.331 GB, free: 10.72 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.060954999178648]