Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9616/0.9616, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.346/2.346, allocations: 438.8 MB / 0.6827 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 0.8385 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.701e-05, allocations: 6.25 kB / 0.8385 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003054/0.003081, allocations: 1.68 MB / 0.8402 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.004193, allocations: 0.5773 MB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.882e-05/0.004272, allocations: 3.938 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.004464, allocations: 27.73 kB / 0.8408 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.003575/0.00804, allocations: 123.4 kB / 0.8409 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.00846, allocations: 151.6 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.008766, allocations: 211.5 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.008883, allocations: 26.42 kB / 0.8413 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01328/0.02216, allocations: 4.964 MB / 0.8461 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.02231, allocations: 91.8 kB / 0.8462 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.02234, allocations: 16 kB / 0.8462 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.621e-05/0.02242, allocations: 28 kB / 0.8462 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.312e-05/0.02248, allocations: 39.83 kB / 0.8463 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.983e-05/0.02254, allocations: 51.81 kB / 0.8463 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.02279, allocations: 163.4 kB / 0.8465 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.0228, allocations: 0 / 0.8465 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.413e-06/0.0228, allocations: 0 / 0.8465 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.0228, allocations: 0 / 0.8465 GB, free: 7.922 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005087/0.02331, allocations: 439.1 kB / 0.8469 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.02335, allocations: 16.62 kB / 0.8469 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.02339, allocations: 16.92 kB / 0.8469 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.02359, allocations: 165.5 kB / 0.8471 GB, free: 7.238 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.02361, allocations: 8.375 kB / 0.8471 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.02363, allocations: 16.36 kB / 0.8471 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.458e-05/0.02373, allocations: 68.83 kB / 0.8472 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.02374, allocations: 0 / 0.8472 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.02375, allocations: 7.984 kB / 0.8472 GB, free: 7.137 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.02375, allocations: 0 / 0.8472 GB, free: 7.137 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.574e-05/0.02379, allocations: 23.92 kB / 0.8472 GB, free: 7.113 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.0242, allocations: 263.9 kB / 0.8475 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.964e-05/0.02427, allocations: 42.55 kB / 0.8475 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.02429, allocations: 20.98 kB / 0.8475 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.0243, allocations: 4 kB / 0.8475 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.626e-05/0.02438, allocations: 75.36 kB / 0.8476 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.02438, allocations: 4 kB / 0.8476 GB, free: 6.672 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0001176/0.0245, allocations: 77.98 kB / 0.8477 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.02453, allocations: 59.34 kB / 0.8477 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.02464, allocations: 188.5 kB / 0.8479 GB, free: 6.32 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.02466, allocations: 37.64 kB / 0.8479 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.0247, allocations: 104 kB / 0.848 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.02472, allocations: 27.78 kB / 0.8481 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.02476, allocations: 49.66 kB / 0.8481 GB, free: 6.09 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.0249, allocations: 334.7 kB / 0.8484 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.02492, allocations: 11.98 kB / 0.8484 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.02505, allocations: 206 kB / 0.8486 GB, free: 5.484 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.717e-05/0.02511, allocations: 82.89 kB / 0.8487 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.02511, allocations: 0 / 0.8487 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 9.407e-05/0.02521, allocations: 101.5 kB / 0.8488 GB, free: 5.285 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.02522, allocations: 8 kB / 0.8488 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.02522, allocations: 0 / 0.8488 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.02524, allocations: 8.125 kB / 0.8488 GB, free: 5.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.998e-05/0.02529, allocations: 15.94 kB / 0.8489 GB, free: 5.254 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.02529, allocations: 3.984 kB / 0.8489 GB, free: 5.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.779e-05/0.02536, allocations: 19.95 kB / 0.8489 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.02536, allocations: 4 kB / 0.8489 GB, free: 5.227 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 6.865e-05/0.02543, allocations: 132.5 kB / 0.849 GB, free: 5.086 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.02544, allocations: 8 kB / 0.849 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/0.02547, allocations: 21.45 kB / 0.849 GB, free: 5.062 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.02547, allocations: 0 / 0.849 GB, free: 5.062 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.02547, allocations: 0 / 0.849 GB, free: 5.062 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.02547, allocations: 4 kB / 0.849 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.0257, allocations: 290.5 kB / 0.8493 GB, free: 4.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.0257, allocations: 0 / 0.8493 GB, free: 4.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.196e-05/0.02571, allocations: 7.984 kB / 0.8493 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.02571, allocations: 0 / 0.8493 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-06/0.02572, allocations: 0 / 0.8493 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.02572, allocations: 0 / 0.8493 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.02572, allocations: 0 / 0.8493 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.543e-05/0.0258, allocations: 183.3 kB / 0.8495 GB, free: 4.547 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.02581, allocations: 11.91 kB / 0.8495 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.02582, allocations: 4 kB / 0.8495 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.074e-05/0.02587, allocations: 11.98 kB / 0.8495 GB, free: 4.52 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.0259, allocations: 11.92 kB / 0.8495 GB, free: 4.508 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.02591, allocations: 7.984 kB / 0.8495 GB, free: 4.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.183e-05/0.02594, allocations: 45.66 kB / 0.8496 GB, free: 4.453 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.02594, allocations: 0 / 0.8496 GB, free: 4.453 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001531/0.0261, allocations: 39.94 kB / 0.8496 GB, free: 4.414 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002792/0.02638, allocations: 168.2 kB / 0.8498 GB, free: 4.27 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.02648, allocations: 64.95 kB / 0.8498 GB, free: 4.203 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.02649, allocations: 0 / 0.8498 GB, free: 4.203 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.852e-05/0.02652, allocations: 32.78 kB / 0.8499 GB, free: 4.168 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.02671, allocations: 57.11 kB / 0.8499 GB, free: 4.121 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.0272, allocations: 262.1 kB / 0.8502 GB, free: 3.836 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.334e-05/0.02723, allocations: 71.98 kB / 0.8503 GB, free: 3.746 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.015e-05/0.02727, allocations: 21.47 kB / 0.8503 GB, free: 3.727 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.02741, allocations: 113.3 kB / 0.8504 GB, free: 3.613 MB / 0.8073 GB Notification: Performance of SimCode: time 6.41e-07/0.02741, allocations: 0 / 0.8504 GB, free: 3.613 MB / 0.8073 GB Notification: Performance of Templates: time 0.005015/0.03242, allocations: 3.629 MB / 0.8539 GB, free: 44 kB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.394886730238795]