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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004974/0.004974, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001355/0.001355, allocations: 198.7 kB / 16.68 MB, free: 5.969 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.352 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.735/2.735, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 59.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3185, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003055/0.3216, allocations: 1.627 MB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.3228, allocations: 0.5655 MB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.629e-05/0.3228, allocations: 0 / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.3231, allocations: 35.72 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.3234, allocations: 107.5 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.3238, allocations: 143.2 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.3241, allocations: 227.4 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3242, allocations: 21.56 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.3244, allocations: 99.72 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01236/0.3367, allocations: 1.57 MB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.15e-05/0.3368, allocations: 20 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.337, allocations: 35.92 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.795e-05/0.337, allocations: 39.83 kB / 1.171 GB, free: 3.211 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.3372, allocations: 75.64 kB / 1.171 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.3376, allocations: 203.2 kB / 1.171 GB, free: 2.938 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3376, allocations: 4 kB / 1.171 GB, free: 2.934 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3376, allocations: 0 / 1.171 GB, free: 2.934 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.3376, allocations: 0 / 1.171 GB, free: 2.934 MB / 0.92 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.0008216/0.3384, allocations: 0.5254 MB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3385, allocations: 8.031 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.727e-05/0.3385, allocations: 42.73 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.3386, allocations: 20.78 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.3389, allocations: 239.8 kB / 1.172 GB, free: 1.996 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.3389, allocations: 8 kB / 1.172 GB, free: 1.988 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.339, allocations: 12 kB / 1.172 GB, free: 1.977 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.3392, allocations: 81.66 kB / 1.172 GB, free: 1.891 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3392, allocations: 0 / 1.172 GB, free: 1.891 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3392, allocations: 4 kB / 1.172 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.3392, allocations: 4 kB / 1.172 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.3393, allocations: 47.91 kB / 1.172 GB, free: 1.836 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008076/0.3401, allocations: 436.5 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.3403, allocations: 78.5 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.632e-05/0.3404, allocations: 28.84 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.3404, allocations: 0 / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.3406, allocations: 83.38 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.3406, allocations: 0 / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.0003166/0.341, allocations: 137.6 kB / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.341, allocations: 59.34 kB / 1.173 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.3413, allocations: 191.1 kB / 1.173 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.3413, allocations: 33.7 kB / 1.173 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3414, allocations: 120.1 kB / 1.173 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.3414, allocations: 27.84 kB / 1.173 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3416, allocations: 49.69 kB / 1.173 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3417, allocations: 322.8 kB / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.01e-05/0.3418, allocations: 27.98 kB / 1.173 GB, free: 148 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.3421, allocations: 123.7 kB / 1.173 GB, free: 16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.3422, allocations: 87.73 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3422, allocations: 0 / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002373/0.3425, allocations: 129.5 kB / 1.174 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3425, allocations: 15.88 kB / 1.174 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3425, allocations: 3.984 kB / 1.174 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3425, allocations: 4 kB / 1.174 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.384e-05/0.3426, allocations: 15.94 kB / 1.174 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3426, allocations: 4 kB / 1.174 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.3428, allocations: 24 kB / 1.174 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.3428, allocations: 8 kB / 1.174 GB, free: 15.69 MB / 0.9356 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.0001433/0.343, allocations: 133.6 kB / 1.174 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.343, allocations: 23.83 kB / 1.174 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.3431, allocations: 17.41 kB / 1.174 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.3431, allocations: 0 / 1.174 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3431, allocations: 3.938 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3431, allocations: 0 / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005798/0.3437, allocations: 434.3 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3437, allocations: 0 / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.55e-05/0.3437, allocations: 7.938 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.3437, allocations: 0 / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.3438, allocations: 4 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3438, allocations: 3.984 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3438, allocations: 0 / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.344, allocations: 219.7 kB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.3441, allocations: 89.06 kB / 1.175 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.3441, allocations: 4 kB / 1.175 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.936e-05/0.3442, allocations: 11.98 kB / 1.175 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.3443, allocations: 15.98 kB / 1.175 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.3443, allocations: 4 kB / 1.175 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001288/0.3445, allocations: 136 kB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3445, allocations: 4 kB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002958/0.3448, allocations: 39.89 kB / 1.175 GB, free: 14.46 MB / 0.9356 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.0008448/0.3456, allocations: 0.8002 MB / 1.176 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.3459, allocations: 83.84 kB / 1.176 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3459, allocations: 0 / 1.176 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.63e-05/0.346, allocations: 35.98 kB / 1.176 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.3463, allocations: 56.05 kB / 1.176 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.3485, allocations: 1.791 MB / 1.177 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.3489, allocations: 0.7124 MB / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.221e-05/0.349, allocations: 17.53 kB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.483e-05/0.3491, allocations: 51.34 kB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of SimCode: time 2.204e-06/0.3491, allocations: 0 / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0305/0.3796, allocations: 5.013 MB / 1.183 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.332/8.712, allocations: 10.75 kB / 1.183 GB, free: 5.922 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches