Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00108/0.00108, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001218/0.001219, allocations: 195.6 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 437 MB / 0.71 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.91 kB / 0.8687 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6113/0.6125, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002853/0.6154, allocations: 1.784 MB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.6164, allocations: 0.6085 MB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.501e-05/0.6165, allocations: 0 / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.6167, allocations: 19.86 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.617, allocations: 91.66 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.6173, allocations: 143.7 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.6176, allocations: 219.5 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.6177, allocations: 29.53 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.6178, allocations: 107.6 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02042/0.6382, allocations: 1.552 MB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.381e-05/0.6383, allocations: 16 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.6384, allocations: 32 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.764e-05/0.6385, allocations: 39.77 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.6386, allocations: 79.62 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.6389, allocations: 195.4 kB / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.639, allocations: 7.938 kB / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.353e-06/0.639, allocations: 0 / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.639, allocations: 0 / 1.022 GB, free: 14.23 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.0007529/0.6397, allocations: 0.5215 MB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.6398, allocations: 8.031 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.716e-05/0.6399, allocations: 20.75 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.6401, allocations: 232.6 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.6402, allocations: 19.94 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.6402, allocations: 11.98 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.6404, allocations: 77.66 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.6404, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.6404, allocations: 8 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.6404, allocations: 3.938 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.553e-05/0.6405, allocations: 51.84 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007296/0.6413, allocations: 436.4 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.6414, allocations: 70.5 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.6415, allocations: 32.84 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.6415, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.6417, allocations: 99.3 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.6417, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0002835/0.642, allocations: 137.8 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.642, allocations: 55.41 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.6422, allocations: 191.2 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.6422, allocations: 25.7 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.039e-05/0.6423, allocations: 120 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.6424, allocations: 35.55 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.341e-05/0.6425, allocations: 53.62 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.6426, allocations: 330.8 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.054e-05/0.6426, allocations: 20 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.6429, allocations: 115.7 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.643, allocations: 96.16 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.643, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002037/0.6432, allocations: 125.4 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.6433, allocations: 12.11 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6433, allocations: 7.938 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.6433, allocations: 0 / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.822e-05/0.6434, allocations: 15.94 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.6434, allocations: 0 / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.6436, allocations: 19.89 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.6436, allocations: 8 kB / 1.024 GB, free: 11.04 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 (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.0001137/0.6437, allocations: 129.7 kB / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.6437, allocations: 23.8 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.89e-05/0.6438, allocations: 21.34 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.6438, allocations: 0 / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6438, allocations: 4 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.6438, allocations: 0 / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005016/0.6443, allocations: 430.3 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6443, allocations: 0 / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/0.6444, allocations: 8 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.6444, allocations: 4 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.6444, allocations: 48 / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6444, allocations: 0 / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.305e-05/0.6444, allocations: 11.91 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.6446, allocations: 211.2 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/0.6447, allocations: 88.92 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.6447, allocations: 4 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.859e-05/0.6448, allocations: 11.98 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.6449, allocations: 11.98 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.6449, allocations: 8 kB / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001521/0.645, allocations: 136.1 kB / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.645, allocations: 0 / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002902/0.6453, allocations: 44 kB / 1.025 GB, free: 9.816 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 (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.000335/0.6457, allocations: 162.7 kB / 1.026 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.6459, allocations: 83.84 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6459, allocations: 8.25 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.133e-05/0.646, allocations: 35.92 kB / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.6464, allocations: 59.11 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.6469, allocations: 314.9 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.6472, allocations: 0.7124 MB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.525e-05/0.6473, allocations: 21.55 kB / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.811e-05/0.6473, allocations: 19.42 kB / 1.027 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of SimCode: time 1.8e-07/0.6474, allocations: 0 / 1.027 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of Templates: time 0.006652/0.654, allocations: 3.2 MB / 1.03 GB, free: 5.211 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches