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.00185/0.00185, allocations: 93.47 kB / 19.44 MB, free: 332 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.00208/0.00208, allocations: 169.2 kB / 22.76 MB, free: 1.66 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 1.548/1.548, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 3.369/3.369, allocations: 429.5 MB / 0.6729 GB, free: 3.992 MB / 0.6355 GB " [Timeout remaining time 176] 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.333e-06/1.333e-06, allocations: 0 / 0.8774 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.819e-05, allocations: 6.312 kB / 0.8774 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003354/0.003383, allocations: 1.768 MB / 0.8791 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.005291, allocations: 0.9127 MB / 0.88 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.38e-05/0.005364, allocations: 4 kB / 0.88 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.005552, allocations: 35.64 kB / 0.8801 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.005944, allocations: 127.3 kB / 0.8802 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.006324, allocations: 151.6 kB / 0.8803 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.006657, allocations: 247.3 kB / 0.8806 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.006787, allocations: 29.78 kB / 0.8806 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.007018, allocations: 143.7 kB / 0.8807 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01991/0.02693, allocations: 2.672 MB / 0.8833 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.02704, allocations: 20 kB / 0.8834 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.02719, allocations: 35.94 kB / 0.8834 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.684e-05/0.02727, allocations: 40.77 kB / 0.8834 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.0274, allocations: 71.8 kB / 0.8835 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004664/0.02787, allocations: 239.3 kB / 0.8837 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.02787, allocations: 0.5938 kB / 0.8837 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.763e-06/0.02788, allocations: 1.375 kB / 0.8837 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.02788, allocations: 7.922 kB / 0.8837 GB, free: 1.031 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.0009657/0.02885, allocations: 0.5781 MB / 0.8843 GB, free: 416 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.02889, allocations: 8.031 kB / 0.8843 GB, free: 408 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.029, allocations: 29.3 kB / 0.8843 GB, free: 380 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.02933, allocations: 193.1 kB / 0.8845 GB, free: 160 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.02935, allocations: 13.59 kB / 0.8845 GB, free: 148 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.0294, allocations: 19.94 kB / 0.8846 GB, free: 128 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.02963, allocations: 113 kB / 0.8847 GB, free: 0 / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.02965, allocations: 8.047 kB / 0.8847 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.02967, allocations: 8 kB / 0.8847 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.02967, allocations: 0 / 0.8847 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.02981, allocations: 51.97 kB / 0.8847 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.03083, allocations: 0.5647 MB / 0.8853 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.03105, allocations: 114.2 kB / 0.8854 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.809e-05/0.03113, allocations: 43.42 kB / 0.8854 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.03115, allocations: 0 / 0.8854 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.03139, allocations: 136.4 kB / 0.8856 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.062e-06/0.03139, allocations: 0 / 0.8856 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0004055/0.0318, allocations: 167.6 kB / 0.8857 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.438e-05/0.03187, allocations: 92.88 kB / 0.8858 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.03218, allocations: 279.6 kB / 0.8861 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.03222, allocations: 37.69 kB / 0.8861 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.03236, allocations: 175.4 kB / 0.8863 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.03241, allocations: 35.75 kB / 0.8863 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.03254, allocations: 71.33 kB / 0.8864 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000283/0.03282, allocations: 0.5079 MB / 0.8869 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/0.0329, allocations: 31.98 kB / 0.8869 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.03328, allocations: 271.3 kB / 0.8872 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.03347, allocations: 137.7 kB / 0.8873 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.03348, allocations: 4 kB / 0.8873 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003183/0.0338, allocations: 175.6 kB / 0.8875 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.03382, allocations: 8 kB / 0.8875 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.03382, allocations: 0 / 0.8875 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.03384, allocations: 4 kB / 0.8875 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.03395, allocations: 23.92 kB / 0.8875 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.03397, allocations: 7.984 kB / 0.8875 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.03418, allocations: 28.03 kB / 0.8875 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.03419, allocations: 8 kB / 0.8875 GB, free: 12.78 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 0.0001713/0.03436, allocations: 190.5 kB / 0.8877 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.03441, allocations: 23.84 kB / 0.8878 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.913e-05/0.03447, allocations: 17.47 kB / 0.8878 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.03447, allocations: 4 kB / 0.8878 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.03448, allocations: 0 / 0.8878 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.03448, allocations: 3.984 kB / 0.8878 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006829/0.03516, allocations: 457.2 kB / 0.8882 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.03517, allocations: 4 kB / 0.8882 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.473e-05/0.03519, allocations: 4 kB / 0.8882 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.0352, allocations: 7.922 kB / 0.8882 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.03521, allocations: 3.938 kB / 0.8882 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.03521, allocations: 4 kB / 0.8882 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.03521, allocations: 0 / 0.8882 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.03554, allocations: 299.3 kB / 0.8885 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.03557, allocations: 11.91 kB / 0.8885 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.03561, allocations: 4 kB / 0.8885 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.03573, allocations: 11.98 kB / 0.8885 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.876e-05/0.03581, allocations: 23.97 kB / 0.8886 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.03584, allocations: 12 kB / 0.8886 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002026/0.03604, allocations: 188.1 kB / 0.8888 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.03604, allocations: 0 / 0.8888 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003308/0.03637, allocations: 51.92 kB / 0.8888 GB, free: 11.41 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.0005616/0.03693, allocations: 181.4 kB / 0.889 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002706/0.0372, allocations: 107.5 kB / 0.8891 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.03721, allocations: 0 / 0.8891 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.03733, allocations: 51.98 kB / 0.8891 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005091/0.03784, allocations: 68.77 kB / 0.8892 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008165/0.03865, allocations: 330.5 kB / 0.8895 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.03878, allocations: 116.2 kB / 0.8896 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.256e-05/0.03887, allocations: 21.62 kB / 0.8896 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.055e-05/0.03894, allocations: 24.48 kB / 0.8897 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of SimCode: time 9.82e-07/0.03894, allocations: 0 / 0.8897 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of Templates: time 0.009524/0.04846, allocations: 3.936 MB / 0.8935 GB, free: 6.609 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.595493057044223]