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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001395/0.001395, allocations: 100.2 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.002079/0.002079, allocations: 177.3 kB / 15.95 MB, free: 216 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.514/1.514, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.836/2.836, allocations: 436.5 MB / 0.7104 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000442/0.0004421, allocations: 8 kB / 0.8707 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7388/0.7393, allocations: 153.6 MB / 1.021 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002097/0.7414, allocations: 1.387 MB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.7425, allocations: 0.5813 MB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.039e-05/0.7426, allocations: 3.938 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.7427, allocations: 15.86 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.7431, allocations: 107.7 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.7434, allocations: 135.7 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.7436, allocations: 123.7 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.7437, allocations: 25.53 kB / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.7439, allocations: 83.73 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.7454, allocations: 1.03 MB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.7454, allocations: 8 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.996e-05/0.7455, allocations: 16 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.443e-05/0.7456, allocations: 27.91 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.231e-05/0.7456, allocations: 45.64 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.7458, allocations: 129.7 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.7458, allocations: 0 / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7459, allocations: 0 / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.7459, allocations: 0 / 1.024 GB, free: 13.4 MB / 0.7794 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.0007347/0.7466, allocations: 0.498 MB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.7467, allocations: 11.98 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.7467, allocations: 19.81 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.747, allocations: 226.8 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.7471, allocations: 15.89 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.7471, allocations: 16 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.7473, allocations: 83.91 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.7473, allocations: 0 / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.7473, allocations: 3.938 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.7473, allocations: 0 / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.7474, allocations: 43.98 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007979/0.7482, allocations: 452.4 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.7484, allocations: 74.5 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.7484, allocations: 3.938 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.7486, allocations: 87.38 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.7486, allocations: 0 / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0002726/0.7489, allocations: 137.5 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.7489, allocations: 55.41 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.7491, allocations: 191 kB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.7492, allocations: 29.7 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.649e-05/0.7493, allocations: 120 kB / 1.026 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.7493, allocations: 27.78 kB / 1.026 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.7493, allocations: 0 / 1.026 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.7494, allocations: 326.8 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.483e-05/0.7495, allocations: 27.98 kB / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.7497, allocations: 115.7 kB / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.984e-05/0.7498, allocations: 35.19 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.7498, allocations: 0 / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002061/0.75, allocations: 133.4 kB / 1.027 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.75, allocations: 9.344 kB / 1.027 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.75, allocations: 12.06 kB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.7501, allocations: 0 / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.115e-05/0.7501, allocations: 12 kB / 1.027 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.7502, allocations: 0 / 1.027 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.7503, allocations: 31.78 kB / 1.027 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.7504, allocations: 4 kB / 1.027 GB, free: 10.39 MB / 0.7794 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.0001243/0.7505, allocations: 133.8 kB / 1.027 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.7505, allocations: 15.81 kB / 1.027 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.7506, allocations: 21.41 kB / 1.027 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7506, allocations: 0 / 1.027 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7506, allocations: 0 / 1.027 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.7506, allocations: 7.984 kB / 1.027 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004912/0.7511, allocations: 434.3 kB / 1.028 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.7511, allocations: 4 kB / 1.028 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.459e-05/0.7511, allocations: 8 kB / 1.028 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.7511, allocations: 7.922 kB / 1.028 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.7512, allocations: 0 / 1.028 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.7512, allocations: 3.953 kB / 1.028 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7512, allocations: 0 / 1.028 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.7514, allocations: 199.3 kB / 1.028 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.118e-05/0.7514, allocations: 100.9 kB / 1.028 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.7515, allocations: 7.984 kB / 1.028 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.7516, allocations: 12 kB / 1.028 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.7516, allocations: 19.92 kB / 1.028 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.7517, allocations: 7.938 kB / 1.028 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001041/0.7518, allocations: 133.2 kB / 1.028 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7518, allocations: 4 kB / 1.028 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002972/0.7521, allocations: 36 kB / 1.028 GB, free: 9.156 MB / 0.7794 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.000355/0.7524, allocations: 164 kB / 1.028 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.7527, allocations: 83.84 kB / 1.028 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.7527, allocations: 0 / 1.028 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.406e-05/0.7527, allocations: 35.98 kB / 1.028 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.7531, allocations: 47 kB / 1.029 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006107/0.7537, allocations: 302.2 kB / 1.029 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.754, allocations: 0.7204 MB / 1.03 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.708e-05/0.7541, allocations: 21.53 kB / 1.03 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.7541, allocations: 19.44 kB / 1.03 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.7541, allocations: 0 / 1.03 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of Templates: time 0.008964/0.7631, allocations: 2.985 MB / 1.032 GB, free: 4.785 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches