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.001063/0.001063, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009663/0.0009663, allocations: 173 kB / 23.49 MB, free: 1.055 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.9406/0.9406, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.092/2.092, allocations: 429.5 MB / 0.6736 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.673e-06/1.673e-06, allocations: 0 / 0.8781 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.141e-05, allocations: 4.984 kB / 0.8781 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003344/0.003375, allocations: 1.695 MB / 0.8798 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.004519, allocations: 0.5704 MB / 0.8804 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.127e-05/0.00461, allocations: 0 / 0.8804 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.004823, allocations: 29.31 kB / 0.8804 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004421/0.005265, allocations: 120.3 kB / 0.8805 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.005677, allocations: 148.7 kB / 0.8806 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003263/0.006003, allocations: 211.5 kB / 0.8808 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.00615, allocations: 21.78 kB / 0.8809 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.006355, allocations: 136.8 kB / 0.881 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01068/0.01703, allocations: 2.514 MB / 0.8834 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 9.151e-05/0.01713, allocations: 16 kB / 0.8835 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.01727, allocations: 40.45 kB / 0.8835 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.636e-05/0.01735, allocations: 35.84 kB / 0.8835 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.01746, allocations: 61.23 kB / 0.8836 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004245/0.01788, allocations: 175.4 kB / 0.8838 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.01789, allocations: 0 / 0.8838 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.904e-06/0.01789, allocations: 0 / 0.8838 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.0179, allocations: 1.312 kB / 0.8838 GB, free: 1.824 MB / 0.8386 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.0007862/0.01868, allocations: 0.5543 MB / 0.8843 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.01873, allocations: 13.22 kB / 0.8843 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.976e-05/0.01883, allocations: 28.8 kB / 0.8843 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.01912, allocations: 189 kB / 0.8845 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.01914, allocations: 8.375 kB / 0.8845 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.01918, allocations: 20.36 kB / 0.8845 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.01934, allocations: 69.55 kB / 0.8846 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.01935, allocations: 4 kB / 0.8846 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.01936, allocations: 0 / 0.8846 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.01937, allocations: 0 / 0.8846 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.132e-05/0.01946, allocations: 27.97 kB / 0.8846 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007752/0.02023, allocations: 415.3 kB / 0.885 GB, free: 404 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.02039, allocations: 59.05 kB / 0.8851 GB, free: 332 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.85e-05/0.02044, allocations: 23.67 kB / 0.8851 GB, free: 304 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.02046, allocations: 4 kB / 0.8851 GB, free: 300 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.02062, allocations: 89.09 kB / 0.8852 GB, free: 196 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 1.964e-06/0.02062, allocations: 0 / 0.8852 GB, free: 196 kB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0003101/0.02093, allocations: 113.5 kB / 0.8853 GB, free: 76 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.02098, allocations: 55.41 kB / 0.8854 GB, free: 8 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.02121, allocations: 238.6 kB / 0.8856 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.02124, allocations: 37.7 kB / 0.8856 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.02135, allocations: 162.8 kB / 0.8858 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.02138, allocations: 27.94 kB / 0.8858 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.891e-05/0.02148, allocations: 63.27 kB / 0.8859 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.02165, allocations: 0.4962 MB / 0.8864 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.209e-05/0.0217, allocations: 19.92 kB / 0.8864 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/0.02198, allocations: 234.3 kB / 0.8866 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.02211, allocations: 86.36 kB / 0.8867 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02211, allocations: 4 kB / 0.8867 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002445/0.02236, allocations: 128.1 kB / 0.8868 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.02238, allocations: 4 kB / 0.8868 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.02238, allocations: 0 / 0.8868 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.0224, allocations: 4 kB / 0.8868 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.0225, allocations: 15.94 kB / 0.8868 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.02251, allocations: 7.984 kB / 0.8868 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.02267, allocations: 27.81 kB / 0.8869 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.02268, allocations: 8.125 kB / 0.8869 GB, free: 14.33 MB / 0.8542 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 0.0001265/0.02281, allocations: 164.6 kB / 0.887 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.02285, allocations: 27.89 kB / 0.8871 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.186e-05/0.02289, allocations: 13.47 kB / 0.8871 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.02289, allocations: 0 / 0.8871 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.0229, allocations: 0 / 0.8871 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.0229, allocations: 3.938 kB / 0.8871 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.02342, allocations: 413.2 kB / 0.8875 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.02342, allocations: 0 / 0.8875 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.83e-05/0.02345, allocations: 15.94 kB / 0.8875 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.02346, allocations: 4.031 kB / 0.8875 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.02347, allocations: 7.938 kB / 0.8875 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.02347, allocations: 0 / 0.8875 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.02347, allocations: 4 kB / 0.8875 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.0237, allocations: 247.8 kB / 0.8877 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.456e-05/0.02372, allocations: 15.84 kB / 0.8878 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.02374, allocations: 3.938 kB / 0.8878 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.843e-05/0.02384, allocations: 11.98 kB / 0.8878 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.978e-05/0.02391, allocations: 11.92 kB / 0.8878 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.02394, allocations: 19.98 kB / 0.8878 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001304/0.02407, allocations: 165.6 kB / 0.888 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.02407, allocations: 3.938 kB / 0.888 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003615/0.02443, allocations: 43.94 kB / 0.888 GB, free: 13.11 MB / 0.8542 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.0004537/0.02489, allocations: 168.2 kB / 0.8882 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002123/0.0251, allocations: 69.31 kB / 0.8882 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.0251, allocations: 0 / 0.8882 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.598e-05/0.02519, allocations: 43.61 kB / 0.8883 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.02561, allocations: 48.19 kB / 0.8883 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006318/0.02624, allocations: 265.1 kB / 0.8886 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.602e-05/0.0263, allocations: 68 kB / 0.8886 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.277e-05/0.02638, allocations: 25.45 kB / 0.8887 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.723e-05/0.02644, allocations: 20.5 kB / 0.8887 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of SimCode: time 1.163e-06/0.02644, allocations: 0 / 0.8887 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of Templates: time 0.005774/0.03221, allocations: 3.556 MB / 0.8921 GB, free: 8.875 MB / 0.8542 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.358583841938525]