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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_9_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.001324/0.001324, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 390.3 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.91 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6392/0.6405, allocations: 140.4 MB / 0.9497 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002641/0.6432, allocations: 1.616 MB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009183/0.6441, allocations: 0.5765 MB / 0.9519 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.95e-05/0.6442, allocations: 1.531 kB / 0.9519 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.6444, allocations: 30.16 kB / 0.9519 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.6447, allocations: 108.1 kB / 0.952 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.6451, allocations: 150 kB / 0.9521 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000221/0.6453, allocations: 216.2 kB / 0.9523 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.6454, allocations: 22.34 kB / 0.9524 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.6455, allocations: 104.6 kB / 0.9525 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008635/0.6542, allocations: 1.549 MB / 0.954 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.729e-05/0.6543, allocations: 15.09 kB / 0.954 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.6544, allocations: 34.86 kB / 0.954 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.732e-05/0.6545, allocations: 30.25 kB / 0.954 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.6546, allocations: 95.77 kB / 0.9541 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.6549, allocations: 195.6 kB / 0.9543 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.655, allocations: 0 / 0.9543 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.655, allocations: 0 / 0.9543 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.655, allocations: 1.156 kB / 0.9543 GB, free: 6.16 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.00068/0.6557, allocations: 0.5144 MB / 0.9548 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.6557, allocations: 9.5 kB / 0.9548 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.6557, allocations: 45.52 kB / 0.9549 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.441e-05/0.6558, allocations: 18.41 kB / 0.9549 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.6561, allocations: 245.1 kB / 0.9551 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.6561, allocations: 13.89 kB / 0.9551 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.6561, allocations: 9.438 kB / 0.9552 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.6563, allocations: 76.14 kB / 0.9552 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.6563, allocations: 0 / 0.9552 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.6563, allocations: 12.95 kB / 0.9552 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.6563, allocations: 1.312 kB / 0.9552 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.293e-05/0.6564, allocations: 44.17 kB / 0.9553 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000678/0.6571, allocations: 442 kB / 0.9557 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.6572, allocations: 69.73 kB / 0.9558 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.258e-05/0.6573, allocations: 29.92 kB / 0.9558 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.6573, allocations: 3.75 kB / 0.9558 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/0.6574, allocations: 92.73 kB / 0.9559 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.6575, allocations: 0 / 0.9559 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0002785/0.6577, allocations: 131.4 kB / 0.956 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.6578, allocations: 52.56 kB / 0.9561 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.6579, allocations: 196 kB / 0.9563 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.658, allocations: 35.53 kB / 0.9563 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.543e-05/0.6581, allocations: 112.9 kB / 0.9564 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.6581, allocations: 28.94 kB / 0.9564 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.981e-05/0.6582, allocations: 65.66 kB / 0.9565 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.368e-05/0.6582, allocations: 326.8 kB / 0.9568 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.382e-05/0.6583, allocations: 26.02 kB / 0.9568 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.6585, allocations: 112.1 kB / 0.9569 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.6586, allocations: 84.38 kB / 0.957 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6586, allocations: 9.062 kB / 0.957 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000204/0.6588, allocations: 137.9 kB / 0.9572 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.6588, allocations: 9.156 kB / 0.9572 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.6589, allocations: 1.219 kB / 0.9572 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.6589, allocations: 2.219 kB / 0.9572 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.729e-05/0.659, allocations: 9.656 kB / 0.9572 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.659, allocations: 10.67 kB / 0.9572 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.6592, allocations: 16.19 kB / 0.9572 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.6592, allocations: 13.61 kB / 0.9572 GB, free: 3.543 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 (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 9.295e-05/0.6593, allocations: 136.8 kB / 0.9573 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.6593, allocations: 14.5 kB / 0.9574 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.6593, allocations: 12.78 kB / 0.9574 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.6594, allocations: 6.328 kB / 0.9574 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6594, allocations: 7.969 kB / 0.9574 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.6594, allocations: 0 / 0.9574 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004012/0.6598, allocations: 431.2 kB / 0.9578 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6598, allocations: 0 / 0.9578 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.955e-05/0.6598, allocations: 10.77 kB / 0.9578 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6598, allocations: 1.812 kB / 0.9578 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.6598, allocations: 1.188 kB / 0.9578 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6598, allocations: 0 / 0.9578 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6598, allocations: 1.625 kB / 0.9578 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.66, allocations: 210 kB / 0.958 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/0.66, allocations: 92.98 kB / 0.9581 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.6601, allocations: 5.953 kB / 0.9581 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.344e-05/0.6602, allocations: 7.562 kB / 0.9581 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.6602, allocations: 10.52 kB / 0.9581 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.6602, allocations: 8.422 kB / 0.9581 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.989e-05/0.6603, allocations: 140.8 kB / 0.9583 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6603, allocations: 0 / 0.9583 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002888/0.6606, allocations: 38.33 kB / 0.9583 GB, free: 2.566 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 (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.0005267/0.6612, allocations: 0.8153 MB / 0.9591 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.6614, allocations: 94.72 kB / 0.9592 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.6614, allocations: 0 / 0.9592 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.498e-05/0.6615, allocations: 39.3 kB / 0.9592 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.6618, allocations: 44.19 kB / 0.9593 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.6636, allocations: 1.764 MB / 0.961 GB, free: 224 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.6639, allocations: 0.7204 MB / 0.9617 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.569e-05/0.664, allocations: 21.53 kB / 0.9617 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.934e-05/0.6641, allocations: 46.5 kB / 0.9618 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.6641, allocations: 0 / 0.9618 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.6877, allocations: 4.958 MB / 0.9666 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.363/8.051, allocations: 7.281 kB / 0.9666 GB, free: 12.92 MB / 0.7325 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches