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.0008935/0.0008935, 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.001024/0.001024, allocations: 169 kB / 23.02 MB, free: 1.547 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.9407/0.9407, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.15/2.15, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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 1.823e-06/1.823e-06, allocations: 0 / 0.8781 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.111e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003436/0.003467, allocations: 1.695 MB / 0.8798 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.004711, allocations: 0.5699 MB / 0.8803 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.386e-05/0.004805, allocations: 4.703 kB / 0.8803 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.005029, allocations: 34.69 kB / 0.8804 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004538/0.005482, allocations: 111.4 kB / 0.8805 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.005896, allocations: 155.6 kB / 0.8806 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.006207, allocations: 216.5 kB / 0.8808 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.006328, allocations: 13.81 kB / 0.8808 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.006535, allocations: 139.7 kB / 0.881 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01043/0.01697, allocations: 2.503 MB / 0.8834 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.995e-05/0.01705, allocations: 16 kB / 0.8834 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.01717, allocations: 37.02 kB / 0.8835 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.266e-05/0.01724, allocations: 39.83 kB / 0.8835 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.01735, allocations: 55.88 kB / 0.8836 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004053/0.01776, allocations: 180 kB / 0.8837 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.01776, allocations: 1.594 kB / 0.8837 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.104e-06/0.01776, allocations: 0 / 0.8837 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.01777, allocations: 0 / 0.8837 GB, free: 1.539 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007563/0.01853, allocations: 0.5563 MB / 0.8843 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.01857, allocations: 16.02 kB / 0.8843 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.823e-05/0.01867, allocations: 24.8 kB / 0.8843 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.01894, allocations: 185.1 kB / 0.8845 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.01896, allocations: 4.375 kB / 0.8845 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.295e-05/0.01901, allocations: 12.38 kB / 0.8845 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.01918, allocations: 81.66 kB / 0.8846 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.01919, allocations: 0 / 0.8846 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.01921, allocations: 0 / 0.8846 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.01922, allocations: 3.938 kB / 0.8846 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.869e-05/0.01931, allocations: 27.98 kB / 0.8846 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008792/0.02019, allocations: 409.6 kB / 0.885 GB, free: 128 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.02034, allocations: 66.97 kB / 0.8851 GB, free: 48 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.947e-05/0.02039, allocations: 31.67 kB / 0.8851 GB, free: 12 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.02041, allocations: 0 / 0.8851 GB, free: 12 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.02057, allocations: 84.97 kB / 0.8852 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.864e-06/0.02058, allocations: 0 / 0.8852 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0003042/0.02088, allocations: 113.7 kB / 0.8853 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.02092, allocations: 59.39 kB / 0.8854 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.02114, allocations: 238.6 kB / 0.8856 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.02117, allocations: 29.7 kB / 0.8856 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.02128, allocations: 162.8 kB / 0.8858 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.02131, allocations: 31.91 kB / 0.8858 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.506e-05/0.0214, allocations: 59.34 kB / 0.8859 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.02156, allocations: 0.5001 MB / 0.8863 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.476e-05/0.02162, allocations: 19.98 kB / 0.8864 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.02188, allocations: 234.2 kB / 0.8866 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.02201, allocations: 88.19 kB / 0.8867 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.02201, allocations: 0 / 0.8867 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002303/0.02224, allocations: 125.5 kB / 0.8868 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.02226, allocations: 4 kB / 0.8868 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.02226, allocations: 0 / 0.8868 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.02228, allocations: 7.938 kB / 0.8868 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.965e-05/0.02238, allocations: 15.98 kB / 0.8868 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.02239, allocations: 4 kB / 0.8868 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.02255, allocations: 27.81 kB / 0.8868 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.02256, allocations: 4.047 kB / 0.8868 GB, free: 14.06 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.0001236/0.02268, allocations: 180.6 kB / 0.887 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.02272, allocations: 23.91 kB / 0.887 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.02276, allocations: 21.45 kB / 0.8871 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.02277, allocations: 0 / 0.8871 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.02277, allocations: 0 / 0.8871 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.02278, allocations: 3.938 kB / 0.8871 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.02326, allocations: 405.2 kB / 0.8875 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.02327, allocations: 0 / 0.8875 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.683e-05/0.02329, allocations: 7.984 kB / 0.8875 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.0233, allocations: 0 / 0.8875 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.02331, allocations: 11.94 kB / 0.8875 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.02331, allocations: 4 kB / 0.8875 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.02331, allocations: 0 / 0.8875 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.02354, allocations: 252.2 kB / 0.8877 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.02357, allocations: 15.84 kB / 0.8877 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.02359, allocations: 7.922 kB / 0.8877 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.02368, allocations: 8 kB / 0.8877 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.848e-05/0.02375, allocations: 15.97 kB / 0.8878 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.02378, allocations: 8 kB / 0.8878 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000121/0.0239, allocations: 177.5 kB / 0.8879 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.2e-07/0.0239, allocations: 0 / 0.8879 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00034/0.02424, allocations: 39.95 kB / 0.888 GB, free: 12.83 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.000447/0.02469, allocations: 164.2 kB / 0.8881 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.02489, allocations: 79.45 kB / 0.8882 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.02489, allocations: 4 kB / 0.8882 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.3e-05/0.02497, allocations: 35.67 kB / 0.8882 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/0.02551, allocations: 50.62 kB / 0.8883 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005859/0.0261, allocations: 265.4 kB / 0.8886 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.417e-05/0.02615, allocations: 79.86 kB / 0.8886 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.622e-05/0.02622, allocations: 21.47 kB / 0.8886 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.02627, allocations: 24.48 kB / 0.8887 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of SimCode: time 1.342e-06/0.02627, allocations: 0 / 0.8887 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of Templates: time 0.005173/0.03144, allocations: 3.546 MB / 0.8921 GB, free: 8.594 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.47542038699612]