Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.001124/0.001124, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009934/0.0009934, allocations: 165 kB / 23.01 MB, free: 1.555 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.9988/0.9988, allocations: 177.1 MB / 203.4 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.101/2.101, allocations: 429.5 MB / 0.6732 GB, free: 4.062 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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.376e-05, allocations: 5.266 kB / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002338/0.002362, allocations: 1.796 MB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.003566, allocations: 0.9294 MB / 0.8808 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.702e-05/0.003643, allocations: 0 / 0.8808 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.003831, allocations: 40.73 kB / 0.8808 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.004165, allocations: 119.4 kB / 0.8809 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.00446, allocations: 152.2 kB / 0.8811 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.004678, allocations: 244.1 kB / 0.8813 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.004796, allocations: 37.7 kB / 0.8814 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.004945, allocations: 147.7 kB / 0.8815 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007105/0.01205, allocations: 2.645 MB / 0.8841 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.233e-05/0.01211, allocations: 20 kB / 0.8841 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.01222, allocations: 39.92 kB / 0.8841 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.269e-05/0.01228, allocations: 47.77 kB / 0.8842 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.734e-05/0.01237, allocations: 63.8 kB / 0.8842 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.01268, allocations: 195.3 kB / 0.8844 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.01269, allocations: 0 / 0.8844 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.833e-06/0.01269, allocations: 4 kB / 0.8844 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.01269, allocations: 1.625 kB / 0.8844 GB, free: 0.8789 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006029/0.0133, allocations: 0.5894 MB / 0.885 GB, free: 248 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.01333, allocations: 8.031 kB / 0.885 GB, free: 240 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.888e-05/0.0134, allocations: 26.5 kB / 0.885 GB, free: 216 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.01362, allocations: 197.9 kB / 0.8852 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.01363, allocations: 12.38 kB / 0.8853 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.01366, allocations: 23.92 kB / 0.8853 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.01381, allocations: 93.53 kB / 0.8854 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.01382, allocations: 0.8438 kB / 0.8854 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.01383, allocations: 7.984 kB / 0.8854 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.01384, allocations: 4 kB / 0.8854 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.478e-05/0.0139, allocations: 35.25 kB / 0.8854 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005866/0.01449, allocations: 0.5506 MB / 0.8859 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.01462, allocations: 98.03 kB / 0.886 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.01466, allocations: 27.44 kB / 0.8861 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.01468, allocations: 8.125 kB / 0.8861 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/0.01482, allocations: 120.4 kB / 0.8862 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.355e-06/0.01482, allocations: 3.984 kB / 0.8862 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.000254/0.01507, allocations: 152 kB / 0.8863 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.01511, allocations: 77.11 kB / 0.8864 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.01528, allocations: 259.2 kB / 0.8867 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.01531, allocations: 33.7 kB / 0.8867 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.01538, allocations: 171.3 kB / 0.8869 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.01541, allocations: 31.73 kB / 0.8869 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.94e-05/0.01548, allocations: 67.33 kB / 0.8869 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.01559, allocations: 0.4962 MB / 0.8874 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.74e-05/0.01563, allocations: 23.92 kB / 0.8875 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.01581, allocations: 254.3 kB / 0.8877 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.01592, allocations: 117.8 kB / 0.8878 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01592, allocations: 0 / 0.8878 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001769/0.01609, allocations: 153.3 kB / 0.888 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.01611, allocations: 8 kB / 0.888 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01612, allocations: 0 / 0.888 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.01613, allocations: 4 kB / 0.888 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.445e-05/0.01621, allocations: 27.92 kB / 0.888 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.01621, allocations: 8.156 kB / 0.888 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.01632, allocations: 23.88 kB / 0.888 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.01633, allocations: 8 kB / 0.888 GB, free: 12.85 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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 8.504e-05/0.01641, allocations: 174.5 kB / 0.8882 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.01644, allocations: 31.83 kB / 0.8882 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.01647, allocations: 17.47 kB / 0.8882 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01647, allocations: 0 / 0.8882 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.01647, allocations: 3.938 kB / 0.8882 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01648, allocations: 4 kB / 0.8883 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003848/0.01686, allocations: 440.6 kB / 0.8887 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01686, allocations: 0 / 0.8887 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.429e-05/0.01688, allocations: 4 kB / 0.8887 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.01688, allocations: 0 / 0.8887 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.01689, allocations: 4 kB / 0.8887 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.01689, allocations: 3.984 kB / 0.8887 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01689, allocations: 0 / 0.8887 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.01707, allocations: 283.3 kB / 0.889 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.01709, allocations: 27.83 kB / 0.889 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.01711, allocations: 0 / 0.889 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.114e-05/0.01717, allocations: 19.98 kB / 0.889 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.01722, allocations: 15.97 kB / 0.889 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.01724, allocations: 8 kB / 0.889 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.516e-05/0.01732, allocations: 171.1 kB / 0.8892 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01732, allocations: 0 / 0.8892 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000218/0.01754, allocations: 43.98 kB / 0.8892 GB, free: 11.55 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0003106/0.01785, allocations: 183.3 kB / 0.8894 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001711/0.01802, allocations: 83.83 kB / 0.8895 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.01803, allocations: 8.062 kB / 0.8895 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.846e-05/0.01809, allocations: 47.59 kB / 0.8895 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.01837, allocations: 62.23 kB / 0.8896 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005265/0.0189, allocations: 310.6 kB / 0.8899 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.99e-05/0.01896, allocations: 75.92 kB / 0.89 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.289e-05/0.01903, allocations: 29.69 kB / 0.89 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.655e-05/0.01909, allocations: 24.48 kB / 0.89 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/0.01909, allocations: 0 / 0.89 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.006928/0.02601, allocations: 3.95 MB / 0.8939 GB, free: 6.809 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.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.615541359875351]