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.0009726/0.0009726, 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.001015/0.001015, allocations: 173 kB / 23.03 MB, free: 1.543 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.9279/0.9279, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.006/2.006, allocations: 429.5 MB / 0.6733 GB, free: 4.016 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.473e-06/1.473e-06, allocations: 0 / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.801e-05, allocations: 8.141 kB / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002213/0.002241, allocations: 1.687 MB / 0.8798 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000746/0.002987, allocations: 0.5763 MB / 0.8803 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.514e-05/0.003042, allocations: 3.938 kB / 0.8803 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.003193, allocations: 33.78 kB / 0.8804 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.003472, allocations: 116 kB / 0.8805 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.003734, allocations: 147.6 kB / 0.8806 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.003934, allocations: 216.2 kB / 0.8808 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.772e-05/0.004022, allocations: 21.73 kB / 0.8809 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01235/0.01637, allocations: 4.966 MB / 0.8857 GB, free: 328 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.01651, allocations: 83.75 kB / 0.8858 GB, free: 244 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.01656, allocations: 12 kB / 0.8858 GB, free: 232 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.178e-05/0.01663, allocations: 39.92 kB / 0.8858 GB, free: 192 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.01668, allocations: 27.91 kB / 0.8859 GB, free: 164 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.596e-05/0.01675, allocations: 55.81 kB / 0.8859 GB, free: 108 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.017, allocations: 163.4 kB / 0.8861 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.017, allocations: 0 / 0.8861 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.303e-06/0.017, allocations: 0 / 0.8861 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.017, allocations: 8 kB / 0.8861 GB, free: 15.94 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.000518/0.01752, allocations: 0.5461 MB / 0.8866 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.01755, allocations: 8.031 kB / 0.8866 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.261e-05/0.01762, allocations: 28.8 kB / 0.8867 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.01779, allocations: 180.3 kB / 0.8868 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.0178, allocations: 8.312 kB / 0.8868 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.01782, allocations: 16.38 kB / 0.8868 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.01793, allocations: 69.59 kB / 0.8869 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.01794, allocations: 4 kB / 0.8869 GB, free: 15 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.01794, allocations: 0 / 0.8869 GB, free: 15 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.01795, allocations: 4 kB / 0.8869 GB, free: 15 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.305e-05/0.018, allocations: 31.91 kB / 0.887 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.01847, allocations: 399.4 kB / 0.8873 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.63e-05/0.01857, allocations: 63.23 kB / 0.8874 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.0186, allocations: 31.61 kB / 0.8874 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.01861, allocations: 4 kB / 0.8874 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.821e-05/0.0187, allocations: 81.03 kB / 0.8875 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.0187, allocations: 0 / 0.8875 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0001917/0.0189, allocations: 113.5 kB / 0.8876 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.01893, allocations: 55.34 kB / 0.8877 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.01906, allocations: 242.6 kB / 0.8879 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.01908, allocations: 33.7 kB / 0.8879 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.01915, allocations: 158.8 kB / 0.8881 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.01917, allocations: 31.91 kB / 0.8881 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.01923, allocations: 59.34 kB / 0.8882 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.01933, allocations: 0.5001 MB / 0.8887 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.981e-05/0.01936, allocations: 16 kB / 0.8887 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.01953, allocations: 240.6 kB / 0.8889 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.841e-05/0.01961, allocations: 90.11 kB / 0.889 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01961, allocations: 0 / 0.889 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000133/0.01974, allocations: 129.5 kB / 0.8891 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.01975, allocations: 4 kB / 0.8891 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.01976, allocations: 4 kB / 0.8891 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.01977, allocations: 0 / 0.8891 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.01983, allocations: 23.92 kB / 0.8891 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.01984, allocations: 0 / 0.8891 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.165e-05/0.01992, allocations: 23.83 kB / 0.8892 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.01993, allocations: 8 kB / 0.8892 GB, free: 12.47 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 7.756e-05/0.02001, allocations: 172.6 kB / 0.8893 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.895e-05/0.02002, allocations: 31.84 kB / 0.8894 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.375e-05/0.02005, allocations: 13.47 kB / 0.8894 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.02005, allocations: 3.984 kB / 0.8894 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.02005, allocations: 0 / 0.8894 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.02006, allocations: 7.938 kB / 0.8894 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.02035, allocations: 397.7 kB / 0.8898 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.02035, allocations: 0 / 0.8898 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.185e-05/0.02037, allocations: 4 kB / 0.8898 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.02037, allocations: 0 / 0.8898 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.02038, allocations: 15.92 kB / 0.8898 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.02038, allocations: 0 / 0.8898 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.02038, allocations: 3.984 kB / 0.8898 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.02051, allocations: 259.8 kB / 0.89 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.02052, allocations: 15.84 kB / 0.8901 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.02053, allocations: 3.938 kB / 0.8901 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.42e-05/0.02058, allocations: 11.98 kB / 0.8901 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.02062, allocations: 15.97 kB / 0.8901 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.02063, allocations: 4 kB / 0.8901 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.815e-05/0.0207, allocations: 169.6 kB / 0.8902 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.0207, allocations: 0 / 0.8902 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001899/0.02089, allocations: 47.94 kB / 0.8903 GB, free: 11.25 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.0002631/0.02116, allocations: 162.1 kB / 0.8905 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.02129, allocations: 75.47 kB / 0.8905 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.02129, allocations: 0 / 0.8905 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.524e-05/0.02134, allocations: 39.61 kB / 0.8906 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.02158, allocations: 67.05 kB / 0.8906 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000394/0.02197, allocations: 257.4 kB / 0.8909 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.234e-05/0.02201, allocations: 71.98 kB / 0.8909 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.617e-05/0.02207, allocations: 21.47 kB / 0.891 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.02211, allocations: 24.5 kB / 0.891 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of SimCode: time 8.81e-07/0.02211, allocations: 0 / 0.891 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.005354/0.02746, allocations: 3.749 MB / 0.8946 GB, free: 6.801 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.110050891991705]