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.001517/0.001517, allocations: 88.23 kB / 19.64 MB, free: 308 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.001894/0.001894, allocations: 168.9 kB / 23.02 MB, free: 1.574 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.9723/0.9723, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.009/2.009, allocations: 429.5 MB / 0.6733 GB, free: 4.043 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 1.162e-06/1.162e-06, allocations: 0 / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.467e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002023/0.002037, allocations: 1.799 MB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.003122, allocations: 0.9358 MB / 0.8808 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.574e-05/0.003188, allocations: 0 / 0.8808 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.00334, allocations: 28.44 kB / 0.8808 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.003651, allocations: 127.2 kB / 0.881 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.003908, allocations: 155.6 kB / 0.8811 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.004118, allocations: 243.3 kB / 0.8813 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.815e-05/0.004216, allocations: 25.72 kB / 0.8814 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01371/0.01793, allocations: 5.383 MB / 0.8866 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.01807, allocations: 97.39 kB / 0.8867 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.0181, allocations: 16 kB / 0.8867 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.001e-05/0.01817, allocations: 35.92 kB / 0.8868 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.124e-05/0.01823, allocations: 43.83 kB / 0.8868 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.472e-05/0.01829, allocations: 56.44 kB / 0.8869 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.01855, allocations: 179.4 kB / 0.887 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.01855, allocations: 0.8125 kB / 0.887 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.51e-07/0.01855, allocations: 7.938 kB / 0.887 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.01856, allocations: 0.7188 kB / 0.887 GB, free: 15.12 MB / 0.8542 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.0005595/0.01912, allocations: 0.5811 MB / 0.8876 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.01915, allocations: 8.031 kB / 0.8876 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.01921, allocations: 28.8 kB / 0.8876 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.01939, allocations: 185.2 kB / 0.8878 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.0194, allocations: 16.36 kB / 0.8878 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.01943, allocations: 15.94 kB / 0.8878 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.01954, allocations: 73.66 kB / 0.8879 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.01954, allocations: 0 / 0.8879 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.01956, allocations: 4 kB / 0.8879 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.01957, allocations: 4 kB / 0.8879 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.138e-05/0.01963, allocations: 35.91 kB / 0.888 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004514/0.02008, allocations: 415.4 kB / 0.8884 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.02029, allocations: 115.1 kB / 0.8885 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.669e-05/0.02033, allocations: 31.62 kB / 0.8885 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.02034, allocations: 0 / 0.8885 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.02045, allocations: 104.8 kB / 0.8886 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.02045, allocations: 0 / 0.8886 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.000229/0.02068, allocations: 145.4 kB / 0.8887 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.02071, allocations: 59.34 kB / 0.8888 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.02085, allocations: 251.1 kB / 0.889 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.02087, allocations: 29.7 kB / 0.8891 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.02094, allocations: 171.2 kB / 0.8892 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.02096, allocations: 39.78 kB / 0.8893 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.02102, allocations: 63.33 kB / 0.8893 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.02113, allocations: 0.4962 MB / 0.8898 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.598e-05/0.02117, allocations: 23.98 kB / 0.8898 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.02134, allocations: 248 kB / 0.8901 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.617e-05/0.02143, allocations: 101.8 kB / 0.8902 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.02143, allocations: 0 / 0.8902 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001551/0.02158, allocations: 153.2 kB / 0.8903 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.02159, allocations: 4 kB / 0.8903 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.0216, allocations: 4 kB / 0.8903 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.02161, allocations: 0 / 0.8903 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.262e-05/0.02166, allocations: 23.98 kB / 0.8903 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.02167, allocations: 3.938 kB / 0.8903 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.05e-05/0.02176, allocations: 27.88 kB / 0.8904 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.02177, allocations: 4 kB / 0.8904 GB, free: 11.41 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 0.0001038/0.02187, allocations: 178.7 kB / 0.8905 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.0219, allocations: 23.84 kB / 0.8906 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/0.02193, allocations: 21.86 kB / 0.8906 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.02193, allocations: 7.984 kB / 0.8906 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.02194, allocations: 4 kB / 0.8906 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.02194, allocations: 3.984 kB / 0.8906 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/0.02231, allocations: 461 kB / 0.891 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.02231, allocations: 3.984 kB / 0.891 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.373e-05/0.02232, allocations: 7.938 kB / 0.891 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.02233, allocations: 8 kB / 0.8911 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.02233, allocations: 0 / 0.8911 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.02233, allocations: 0 / 0.8911 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.02233, allocations: 0 / 0.8911 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.02249, allocations: 279.7 kB / 0.8913 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.02251, allocations: 23.84 kB / 0.8913 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.02253, allocations: 0 / 0.8913 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.549e-05/0.02258, allocations: 11.98 kB / 0.8914 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.02264, allocations: 23.89 kB / 0.8914 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.02265, allocations: 12 kB / 0.8914 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.211e-05/0.02272, allocations: 171.1 kB / 0.8916 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.02272, allocations: 0 / 0.8916 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001948/0.02292, allocations: 40 kB / 0.8916 GB, free: 10.09 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.000275/0.02319, allocations: 175.9 kB / 0.8918 GB, free: 9.93 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001561/0.02335, allocations: 95.45 kB / 0.8919 GB, free: 9.832 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.02335, allocations: 0 / 0.8919 GB, free: 9.832 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.859e-05/0.02342, allocations: 54.83 kB / 0.8919 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.02367, allocations: 59.33 kB / 0.892 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.02408, allocations: 307 kB / 0.8923 GB, free: 9.391 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.158e-05/0.02413, allocations: 71.98 kB / 0.8923 GB, free: 9.301 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.787e-05/0.02417, allocations: 25.56 kB / 0.8923 GB, free: 9.277 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.02422, allocations: 28.48 kB / 0.8924 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of SimCode: time 3.9e-07/0.02422, allocations: 0 / 0.8924 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of Templates: time 0.00582/0.03004, allocations: 4.26 MB / 0.8965 GB, free: 5.051 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.168746442999691]