Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009766/0.0009766, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.0009639/0.0009639, allocations: 169.8 kB / 24.87 MB, free: 8.891 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.996/0.996, allocations: 177.1 MB / 205.3 MB, free: 5.137 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.781/1.781, allocations: 359 MB / 0.6063 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.869e-05, allocations: 6.141 kB / 0.7883 GB, free: 12.25 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002187/0.002205, allocations: 1.676 MB / 0.7899 GB, free: 10.57 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.0008001/0.003005, allocations: 0.5648 MB / 0.7905 GB, free: 10.01 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.594e-05/0.003071, allocations: 7.938 kB / 0.7905 GB, free: 10 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.003244, allocations: 23.67 kB / 0.7905 GB, free: 9.977 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.003561, allocations: 123.4 kB / 0.7906 GB, free: 9.855 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.00384, allocations: 148.9 kB / 0.7907 GB, free: 9.711 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.000208/0.004048, allocations: 215.5 kB / 0.7909 GB, free: 9.5 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 9.023e-05/0.004138, allocations: 17.73 kB / 0.791 GB, free: 9.484 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01259/0.01673, allocations: 4.969 MB / 0.7958 GB, free: 6.336 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.01688, allocations: 88.56 kB / 0.7959 GB, free: 6.25 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.0169, allocations: 12 kB / 0.7959 GB, free: 6.238 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 6.886e-05/0.01697, allocations: 36.45 kB / 0.7959 GB, free: 6.203 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 4.481e-05/0.01702, allocations: 31.91 kB / 0.796 GB, free: 6.172 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.0172, allocations: 57.19 kB / 0.796 GB, free: 6.117 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.01744, allocations: 167.4 kB / 0.7962 GB, free: 5.953 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.01744, allocations: 4 kB / 0.7962 GB, free: 5.949 MB / 0.7449 GB Notification: Performance of FrontEnd: time 7.82e-07/0.01744, allocations: 1.188 kB / 0.7962 GB, free: 5.949 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.01745, allocations: 0 / 0.7962 GB, free: 5.949 MB / 0.7449 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.0004527/0.0179, allocations: 0.5389 MB / 0.7967 GB, free: 5.363 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.01793, allocations: 12.75 kB / 0.7967 GB, free: 5.352 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.01798, allocations: 20.84 kB / 0.7968 GB, free: 5.332 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.01813, allocations: 189.4 kB / 0.7969 GB, free: 5.121 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.01815, allocations: 8.312 kB / 0.7969 GB, free: 5.113 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.01817, allocations: 16.38 kB / 0.797 GB, free: 5.098 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.289e-05/0.01826, allocations: 62.31 kB / 0.797 GB, free: 5.031 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.01827, allocations: 3.984 kB / 0.797 GB, free: 5.027 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.01828, allocations: 8.812 kB / 0.797 GB, free: 5.02 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.01828, allocations: 0 / 0.797 GB, free: 5.02 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.354e-05/0.01831, allocations: 20.91 kB / 0.797 GB, free: 5 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.01872, allocations: 369.2 kB / 0.7974 GB, free: 4.613 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 8.576e-05/0.01881, allocations: 67.98 kB / 0.7975 GB, free: 4.535 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/0.01883, allocations: 21.95 kB / 0.7975 GB, free: 4.512 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.01884, allocations: 192 / 0.7975 GB, free: 4.512 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.712e-05/0.01892, allocations: 76.98 kB / 0.7976 GB, free: 4.422 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=12): time 7.52e-07/0.01892, allocations: 0 / 0.7976 GB, free: 4.422 MB / 0.7449 GB Notification: Performance of matching and sorting (n=12): time 0.000163/0.01908, allocations: 109.5 kB / 0.7977 GB, free: 4.309 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.01912, allocations: 55.41 kB / 0.7977 GB, free: 4.242 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.01924, allocations: 237.8 kB / 0.7979 GB, free: 3.992 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.01927, allocations: 37.69 kB / 0.798 GB, free: 3.949 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.01934, allocations: 162.8 kB / 0.7981 GB, free: 3.785 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.01936, allocations: 31.88 kB / 0.7982 GB, free: 3.754 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.01941, allocations: 59.31 kB / 0.7982 GB, free: 3.688 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.01952, allocations: 0.5 MB / 0.7987 GB, free: 3.176 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/0.01954, allocations: 15.98 kB / 0.7987 GB, free: 3.16 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.01969, allocations: 236.6 kB / 0.799 GB, free: 2.863 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.271e-05/0.01977, allocations: 79.92 kB / 0.799 GB, free: 2.766 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01977, allocations: 0 / 0.799 GB, free: 2.766 MB / 0.7449 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001248/0.01989, allocations: 122.6 kB / 0.7991 GB, free: 2.641 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.0199, allocations: 5.156 kB / 0.7992 GB, free: 2.637 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.01991, allocations: 0 / 0.7992 GB, free: 2.637 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.01992, allocations: 4 kB / 0.7992 GB, free: 2.633 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.293e-05/0.01997, allocations: 20.7 kB / 0.7992 GB, free: 2.613 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.01998, allocations: 4 kB / 0.7992 GB, free: 2.609 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.792e-05/0.02005, allocations: 24.53 kB / 0.7992 GB, free: 2.586 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.02006, allocations: 9.656 kB / 0.7992 GB, free: 2.578 MB / 0.7449 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 8.557e-05/0.02015, allocations: 172.4 kB / 0.7994 GB, free: 2.398 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.02016, allocations: 19.84 kB / 0.7994 GB, free: 2.379 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.02019, allocations: 25.39 kB / 0.7994 GB, free: 2.359 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.02019, allocations: 7.438 kB / 0.7994 GB, free: 2.355 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.0202, allocations: 0 / 0.7994 GB, free: 2.355 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.0202, allocations: 0 / 0.7994 GB, free: 2.355 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.02048, allocations: 369.8 kB / 0.7998 GB, free: 1.961 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.02048, allocations: 0 / 0.7998 GB, free: 1.961 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/0.0205, allocations: 11.98 kB / 0.7998 GB, free: 1.949 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.0205, allocations: 0 / 0.7998 GB, free: 1.949 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.02051, allocations: 0 / 0.7998 GB, free: 1.949 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.02051, allocations: 4.938 kB / 0.7998 GB, free: 1.945 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.02051, allocations: 3.938 kB / 0.7998 GB, free: 1.941 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.02064, allocations: 244.3 kB / 0.8 GB, free: 1.684 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.02065, allocations: 16.94 kB / 0.8 GB, free: 1.668 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.02066, allocations: 0 / 0.8 GB, free: 1.668 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.611e-05/0.02071, allocations: 17.05 kB / 0.8001 GB, free: 1.652 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.02074, allocations: 19.89 kB / 0.8001 GB, free: 1.633 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.02076, allocations: 11.98 kB / 0.8001 GB, free: 1.621 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 5.567e-05/0.02082, allocations: 162.2 kB / 0.8002 GB, free: 1.465 MB / 0.7449 GB Notification: Performance of sort global known variables: time 6e-08/0.02082, allocations: 4 kB / 0.8003 GB, free: 1.461 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0001964/0.02101, allocations: 36 kB / 0.8003 GB, free: 1.426 MB / 0.7449 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.0002696/0.02128, allocations: 172.3 kB / 0.8005 GB, free: 1.285 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.02139, allocations: 64.62 kB / 0.8005 GB, free: 1.219 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.0214, allocations: 4.375 kB / 0.8005 GB, free: 1.215 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.02144, allocations: 39.59 kB / 0.8006 GB, free: 1.172 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.02168, allocations: 66.97 kB / 0.8006 GB, free: 1.109 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.02203, allocations: 264.9 kB / 0.8009 GB, free: 0.8203 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.437e-05/0.02207, allocations: 71.98 kB / 0.8009 GB, free: 0.7305 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 4.463e-05/0.02212, allocations: 17.48 kB / 0.801 GB, free: 0.7109 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.02226, allocations: 142.1 kB / 0.8011 GB, free: 0.5703 MB / 0.7449 GB Notification: Performance of SimCode: time 7.51e-07/0.02226, allocations: 0 / 0.8011 GB, free: 0.5703 MB / 0.7449 GB Notification: Performance of Templates: time 0.005138/0.0274, allocations: 3.76 MB / 0.8048 GB, free: 12.86 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.047960144001991]