Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008972/0.0008969, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009771/0.0009771, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.394/2.394, allocations: 390.3 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.000373, allocations: 8 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.003, allocations: 142.3 MB / 0.9535 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002148/1.005, allocations: 1.391 MB / 0.9549 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001065/1.006, allocations: 0.5775 MB / 0.9554 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.002e-05/1.006, allocations: 5.094 kB / 0.9554 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001726/1.007, allocations: 23.5 kB / 0.9554 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003193/1.007, allocations: 100 kB / 0.9555 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/1.007, allocations: 135 kB / 0.9557 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002193/1.007, allocations: 123 kB / 0.9558 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/1.008, allocations: 17.03 kB / 0.9558 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/1.008, allocations: 82.45 kB / 0.9559 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/1.009, allocations: 1.022 MB / 0.9569 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/1.009, allocations: 7.656 kB / 0.9569 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.639e-05/1.009, allocations: 22.25 kB / 0.9569 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.52e-05/1.009, allocations: 26.62 kB / 0.9569 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.325e-05/1.01, allocations: 49.58 kB / 0.957 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/1.01, allocations: 127.2 kB / 0.9571 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/1.01, allocations: 0 / 0.9571 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.784e-06/1.01, allocations: 4 kB / 0.9571 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.47e-06/1.01, allocations: 0 / 0.9571 GB, free: 5.574 MB / 0.7169 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.0006722/1.01, allocations: 0.4945 MB / 0.9576 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/1.011, allocations: 8.344 kB / 0.9576 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.704e-05/1.011, allocations: 17.59 kB / 0.9576 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/1.011, allocations: 232.6 kB / 0.9578 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/1.011, allocations: 10 kB / 0.9578 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/1.011, allocations: 13.12 kB / 0.9579 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/1.011, allocations: 80.78 kB / 0.9579 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/1.011, allocations: 3.938 kB / 0.9579 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/1.011, allocations: 7.953 kB / 0.9579 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/1.011, allocations: 5.797 kB / 0.958 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.529e-05/1.011, allocations: 43.28 kB / 0.958 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007611/1.012, allocations: 449.5 kB / 0.9584 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/1.012, allocations: 86.09 kB / 0.9585 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/1.012, allocations: 0 / 0.9585 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/1.012, allocations: 86.75 kB / 0.9586 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/1.012, allocations: 0 / 0.9586 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0002832/1.013, allocations: 128.7 kB / 0.9587 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/1.013, allocations: 54.16 kB / 0.9588 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/1.013, allocations: 194.5 kB / 0.9589 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/1.013, allocations: 37.83 kB / 0.959 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.397e-05/1.013, allocations: 112.3 kB / 0.9591 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/1.013, allocations: 27.91 kB / 0.9591 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/1.013, allocations: 5.375 kB / 0.9591 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.591e-05/1.013, allocations: 325.6 kB / 0.9594 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.852e-05/1.013, allocations: 23.12 kB / 0.9595 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/1.013, allocations: 119.3 kB / 0.9596 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.341e-05/1.013, allocations: 31.75 kB / 0.9596 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.013, allocations: 5.359 kB / 0.9596 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002107/1.014, allocations: 138.9 kB / 0.9597 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.014, allocations: 9.781 kB / 0.9597 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/1.014, allocations: 1.531 kB / 0.9597 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/1.014, allocations: 2.625 kB / 0.9597 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.359e-05/1.014, allocations: 13.2 kB / 0.9598 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/1.014, allocations: 6.688 kB / 0.9598 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/1.014, allocations: 27.52 kB / 0.9598 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/1.014, allocations: 4.969 kB / 0.9598 GB, free: 3.137 MB / 0.7169 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 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001217/1.014, allocations: 140.8 kB / 0.9599 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/1.014, allocations: 22.55 kB / 0.96 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/1.014, allocations: 17.33 kB / 0.96 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/1.014, allocations: 1.312 kB / 0.96 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.014, allocations: 0.8438 kB / 0.96 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/1.014, allocations: 0 / 0.96 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004664/1.015, allocations: 435.6 kB / 0.9604 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.015, allocations: 5.047 kB / 0.9604 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/1.015, allocations: 2.781 kB / 0.9604 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.015, allocations: 0 / 0.9604 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/1.015, allocations: 1.625 kB / 0.9604 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/1.015, allocations: 1 kB / 0.9604 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.015, allocations: 3.938 kB / 0.9604 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/1.015, allocations: 210.1 kB / 0.9606 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/1.015, allocations: 97.72 kB / 0.9607 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/1.015, allocations: 1.062 kB / 0.9607 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.804e-05/1.015, allocations: 14.11 kB / 0.9607 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/1.015, allocations: 11.14 kB / 0.9607 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/1.015, allocations: 11.95 kB / 0.9607 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000117/1.015, allocations: 134 kB / 0.9609 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.015, allocations: 0 / 0.9609 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003205/1.016, allocations: 43.11 kB / 0.9609 GB, free: 2.148 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004099/1.016, allocations: 177.5 kB / 0.9611 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000225/1.016, allocations: 80.62 kB / 0.9611 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/1.016, allocations: 0 / 0.9611 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.712e-05/1.017, allocations: 35.42 kB / 0.9612 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/1.017, allocations: 40.53 kB / 0.9612 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006026/1.017, allocations: 300.5 kB / 0.9615 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/1.018, allocations: 0.7219 MB / 0.9622 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.692e-05/1.018, allocations: 20.94 kB / 0.9622 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/1.018, allocations: 22.14 kB / 0.9623 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/1.018, allocations: 0 / 0.9623 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of Templates: time 0.007457/1.025, allocations: 2.98 MB / 0.9652 GB, free: 15.48 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches