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.0008371/0.0008371, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001493/0.001493, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9966/0.9966, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.079/2.079, allocations: 429.5 MB / 0.6743 GB, free: 3.918 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 2.194e-06/2.194e-06, allocations: 1.094 kB / 0.8793 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.205e-05/3.425e-05, allocations: 7.219 kB / 0.8793 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.00364/0.003674, allocations: 1.684 MB / 0.881 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.004909, allocations: 0.5685 MB / 0.8815 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.94e-05/0.004998, allocations: 4 kB / 0.8816 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.005207, allocations: 28.7 kB / 0.8816 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003998/0.005607, allocations: 123.4 kB / 0.8817 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.005995, allocations: 148.6 kB / 0.8818 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.006311, allocations: 219.4 kB / 0.882 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.006432, allocations: 18.44 kB / 0.8821 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01565/0.02208, allocations: 4.951 MB / 0.8869 GB, free: 60 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.02228, allocations: 87.73 kB / 0.887 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.02232, allocations: 16 kB / 0.887 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.911e-05/0.02242, allocations: 35.94 kB / 0.887 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.02249, allocations: 35.83 kB / 0.8871 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.467e-05/0.02256, allocations: 51.88 kB / 0.8871 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.02286, allocations: 167.4 kB / 0.8873 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.02286, allocations: 0 / 0.8873 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.01e-07/0.02286, allocations: 0 / 0.8873 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.02287, allocations: 0 / 0.8873 GB, free: 15.67 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006115/0.02348, allocations: 0.5499 MB / 0.8878 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.02353, allocations: 16.03 kB / 0.8878 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.222e-05/0.02359, allocations: 28.8 kB / 0.8879 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.02378, allocations: 172.4 kB / 0.888 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.02379, allocations: 8.312 kB / 0.888 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.02381, allocations: 16.38 kB / 0.888 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.76e-05/0.02391, allocations: 68.91 kB / 0.8881 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.02392, allocations: 0 / 0.8881 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.02393, allocations: 8 kB / 0.8881 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.02394, allocations: 0 / 0.8881 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.865e-05/0.02397, allocations: 23.98 kB / 0.8881 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.02449, allocations: 376 kB / 0.8885 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.02459, allocations: 71 kB / 0.8886 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.02462, allocations: 15.69 kB / 0.8886 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.02464, allocations: 0 / 0.8886 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.02478, allocations: 77.03 kB / 0.8887 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.02478, allocations: 0 / 0.8887 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0002784/0.02506, allocations: 113.6 kB / 0.8888 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.02511, allocations: 59.39 kB / 0.8888 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.02525, allocations: 235.7 kB / 0.889 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.02527, allocations: 33.7 kB / 0.8891 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/0.02536, allocations: 162.8 kB / 0.8892 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.02538, allocations: 31.91 kB / 0.8893 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.856e-05/0.02545, allocations: 55.33 kB / 0.8893 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.02559, allocations: 0.5039 MB / 0.8898 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/0.02561, allocations: 12 kB / 0.8898 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.02579, allocations: 238.8 kB / 0.89 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.65e-05/0.02586, allocations: 90.22 kB / 0.8901 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.02586, allocations: 0 / 0.8901 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001351/0.026, allocations: 117.5 kB / 0.8902 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.02601, allocations: 4 kB / 0.8902 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.02602, allocations: 3.938 kB / 0.8903 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.02603, allocations: 4 kB / 0.8903 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.368e-05/0.02609, allocations: 24.11 kB / 0.8903 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.0261, allocations: 4 kB / 0.8903 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.903e-05/0.02619, allocations: 15.89 kB / 0.8903 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.0262, allocations: 7.938 kB / 0.8903 GB, free: 12.28 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.0001026/0.0263, allocations: 176.5 kB / 0.8905 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.02632, allocations: 15.91 kB / 0.8905 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/0.02635, allocations: 17.47 kB / 0.8905 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.02635, allocations: 4 kB / 0.8905 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.02635, allocations: 0 / 0.8905 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.02636, allocations: 7.984 kB / 0.8905 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.02667, allocations: 374.2 kB / 0.8909 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.02668, allocations: 0 / 0.8909 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.529e-05/0.02669, allocations: 8 kB / 0.8909 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.02669, allocations: 0 / 0.8909 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.0267, allocations: 0 / 0.8909 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.0267, allocations: 7.938 kB / 0.8909 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.02671, allocations: 15.86 kB / 0.8909 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.02684, allocations: 239.8 kB / 0.8911 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.02685, allocations: 15.84 kB / 0.8911 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.02687, allocations: 12 kB / 0.8912 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.483e-05/0.02691, allocations: 7.984 kB / 0.8912 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.02696, allocations: 11.92 kB / 0.8912 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.02697, allocations: 11.98 kB / 0.8912 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.71e-05/0.02704, allocations: 157.1 kB / 0.8913 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.02704, allocations: 0 / 0.8913 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002085/0.02725, allocations: 43.94 kB / 0.8914 GB, free: 11.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.0003023/0.02755, allocations: 171.8 kB / 0.8915 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.02768, allocations: 67.77 kB / 0.8916 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.02768, allocations: 4.062 kB / 0.8916 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.677e-05/0.02773, allocations: 35.66 kB / 0.8916 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.028, allocations: 51.28 kB / 0.8917 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.0284, allocations: 257 kB / 0.8919 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.109e-05/0.02844, allocations: 68 kB / 0.892 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.029e-05/0.02849, allocations: 17.48 kB / 0.892 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.02865, allocations: 146.1 kB / 0.8922 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of SimCode: time 7.12e-07/0.02865, allocations: 4 kB / 0.8922 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of Templates: time 0.006366/0.03502, allocations: 3.772 MB / 0.8958 GB, free: 6.547 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.479680929798633]