Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.001421/0.001421, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001715/0.001715, allocations: 169 kB / 23.02 MB, free: 1.551 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.9287/0.9287, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.093/2.093, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.8781 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.288e-05, allocations: 6.25 kB / 0.8781 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.00221/0.002233, allocations: 1.796 MB / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.003356, allocations: 0.9294 MB / 0.8808 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.823e-05/0.003424, allocations: 0 / 0.8808 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.003598, allocations: 35.66 kB / 0.8808 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.003933, allocations: 121.2 kB / 0.8809 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.004193, allocations: 151.6 kB / 0.8811 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.004442, allocations: 247.3 kB / 0.8813 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.004552, allocations: 26.86 kB / 0.8814 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.004706, allocations: 151.7 kB / 0.8815 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007456/0.01216, allocations: 2.709 MB / 0.8841 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.666e-05/0.01221, allocations: 19.94 kB / 0.8842 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.211e-05/0.0123, allocations: 43.91 kB / 0.8842 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.195e-05/0.01236, allocations: 39.84 kB / 0.8842 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.275e-05/0.01245, allocations: 71.8 kB / 0.8843 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.01276, allocations: 191.3 kB / 0.8845 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.01276, allocations: 0 / 0.8845 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.21e-07/0.01276, allocations: 0 / 0.8845 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.01277, allocations: 0 / 0.8845 GB, free: 0.7891 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006224/0.01339, allocations: 0.5811 MB / 0.8851 GB, free: 164 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.01342, allocations: 12.03 kB / 0.8851 GB, free: 152 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.42e-05/0.01349, allocations: 28.8 kB / 0.8851 GB, free: 124 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.01371, allocations: 201.8 kB / 0.8853 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.01372, allocations: 8.375 kB / 0.8853 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.01375, allocations: 19.94 kB / 0.8853 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.01387, allocations: 73.66 kB / 0.8854 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.01388, allocations: 7.984 kB / 0.8854 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.01389, allocations: 0 / 0.8854 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.0139, allocations: 4 kB / 0.8854 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.134e-05/0.01396, allocations: 33.34 kB / 0.8854 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.01447, allocations: 427.3 kB / 0.8858 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.0147, allocations: 119.1 kB / 0.886 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.878e-05/0.01474, allocations: 27.61 kB / 0.886 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.01476, allocations: 8 kB / 0.886 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.01488, allocations: 100.1 kB / 0.8861 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.01488, allocations: 0 / 0.8861 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0002449/0.01513, allocations: 145.4 kB / 0.8862 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.01516, allocations: 59.34 kB / 0.8863 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.01532, allocations: 251.1 kB / 0.8865 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.01534, allocations: 29.7 kB / 0.8865 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.903e-05/0.01542, allocations: 179.2 kB / 0.8867 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.01545, allocations: 31.8 kB / 0.8867 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.465e-05/0.01552, allocations: 63.33 kB / 0.8868 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.01564, allocations: 0.4962 MB / 0.8873 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.994e-05/0.01568, allocations: 23.98 kB / 0.8873 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.01587, allocations: 238.9 kB / 0.8875 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.335e-05/0.01596, allocations: 101.2 kB / 0.8876 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01597, allocations: 0 / 0.8876 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000157/0.01612, allocations: 153.2 kB / 0.8878 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.01614, allocations: 4 kB / 0.8878 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.01614, allocations: 4 kB / 0.8878 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.01616, allocations: 4 kB / 0.8878 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.638e-05/0.01622, allocations: 23.98 kB / 0.8878 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.01622, allocations: 3.984 kB / 0.8878 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.757e-05/0.01632, allocations: 27.88 kB / 0.8878 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.01633, allocations: 4 kB / 0.8879 GB, free: 13.05 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: 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 9.165e-05/0.01642, allocations: 178.6 kB / 0.888 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.01644, allocations: 27.84 kB / 0.888 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.01648, allocations: 21.8 kB / 0.8881 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.01648, allocations: 7.938 kB / 0.8881 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.01648, allocations: 0 / 0.8881 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.01649, allocations: 0 / 0.8881 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.01687, allocations: 461.1 kB / 0.8885 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01687, allocations: 0 / 0.8885 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.458e-05/0.01688, allocations: 11.94 kB / 0.8885 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01689, allocations: 0 / 0.8885 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.0169, allocations: 3.984 kB / 0.8885 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.0169, allocations: 0 / 0.8885 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.0169, allocations: 0 / 0.8885 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.01706, allocations: 286.8 kB / 0.8888 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.759e-05/0.01708, allocations: 23.83 kB / 0.8888 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.01709, allocations: 0 / 0.8888 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.826e-05/0.01715, allocations: 15.98 kB / 0.8888 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.0172, allocations: 15.97 kB / 0.8889 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.01722, allocations: 15.98 kB / 0.8889 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.946e-05/0.01731, allocations: 167.2 kB / 0.889 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01731, allocations: 0 / 0.889 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002095/0.01752, allocations: 43.98 kB / 0.8891 GB, free: 11.73 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: 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.0002782/0.0178, allocations: 172.9 kB / 0.8892 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001576/0.01796, allocations: 91.52 kB / 0.8893 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01796, allocations: 0 / 0.8893 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.175e-05/0.01802, allocations: 55.55 kB / 0.8894 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.01829, allocations: 66.73 kB / 0.8894 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.01875, allocations: 303 kB / 0.8897 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.427e-05/0.01879, allocations: 71.98 kB / 0.8898 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.646e-05/0.01885, allocations: 25.61 kB / 0.8898 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.0189, allocations: 32.44 kB / 0.8899 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.0189, allocations: 0 / 0.8899 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of Templates: time 0.005399/0.02429, allocations: 4.022 MB / 0.8938 GB, free: 6.93 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.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.389529330655932]