Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 107.1 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.57/1.57, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.843/2.843, allocations: 476.7 MB / 0.7672 GB, free: 5.223 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.89 kB / 1.112 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.932/0.934, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003385/0.9374, allocations: 1.669 MB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.9386, allocations: 0.5671 MB / 1.28 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.745e-05/0.9387, allocations: 7.938 kB / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.9389, allocations: 31.72 kB / 1.28 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.9392, allocations: 107.5 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.9396, allocations: 146.1 kB / 1.281 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.9399, allocations: 219.5 kB / 1.281 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.94, allocations: 21.55 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.9401, allocations: 99.73 kB / 1.281 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01265/0.9528, allocations: 1.58 MB / 1.283 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.9529, allocations: 16 kB / 1.283 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.9531, allocations: 31.98 kB / 1.283 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.9532, allocations: 35.91 kB / 1.283 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.9534, allocations: 87.56 kB / 1.283 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006122/0.954, allocations: 195.2 kB / 1.283 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.954, allocations: 0 / 1.283 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.385e-06/0.954, allocations: 0 / 1.283 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.954, allocations: 0 / 1.283 GB, free: 9.031 MB / 0.9825 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.001254/0.9553, allocations: 0.5293 MB / 1.283 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.9553, allocations: 8.031 kB / 1.283 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.808e-05/0.9554, allocations: 38.75 kB / 1.283 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.9555, allocations: 16.84 kB / 1.283 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004903/0.956, allocations: 248.2 kB / 1.284 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.956, allocations: 12 kB / 1.284 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/0.9561, allocations: 8 kB / 1.284 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.9563, allocations: 84.19 kB / 1.284 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.9563, allocations: 4 kB / 1.284 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.9564, allocations: 4 kB / 1.284 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.9564, allocations: 0 / 1.284 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.9565, allocations: 43.97 kB / 1.284 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009206/0.9574, allocations: 444.4 kB / 1.284 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.9576, allocations: 66.55 kB / 1.284 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.9576, allocations: 32.97 kB / 1.284 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.9576, allocations: 4 kB / 1.284 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.9578, allocations: 91.27 kB / 1.284 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.763e-06/0.9578, allocations: 0 / 1.284 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0003894/0.9582, allocations: 129.5 kB / 1.285 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.9583, allocations: 67.33 kB / 1.285 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.9586, allocations: 183.7 kB / 1.285 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.697e-05/0.9586, allocations: 33.7 kB / 1.285 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.9587, allocations: 120 kB / 1.285 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.9588, allocations: 27.92 kB / 1.285 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.9589, allocations: 53.67 kB / 1.285 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.9591, allocations: 326.8 kB / 1.285 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.176e-05/0.9591, allocations: 31.98 kB / 1.285 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.9594, allocations: 118.6 kB / 1.286 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.9596, allocations: 87.98 kB / 1.286 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.9596, allocations: 4 kB / 1.286 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002767/0.9598, allocations: 133.5 kB / 1.286 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.9599, allocations: 7.938 kB / 1.286 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.9599, allocations: 0 / 1.286 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.9599, allocations: 4 kB / 1.286 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.88e-05/0.96, allocations: 19.92 kB / 1.286 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.96, allocations: 4.125 kB / 1.286 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.9602, allocations: 23.88 kB / 1.286 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.9602, allocations: 4 kB / 1.286 GB, free: 5.785 MB / 0.9825 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.0001418/0.9603, allocations: 129.9 kB / 1.286 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.9604, allocations: 23.83 kB / 1.286 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.418e-05/0.9604, allocations: 21.39 kB / 1.286 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.9604, allocations: 0 / 1.286 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9604, allocations: 0 / 1.286 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9604, allocations: 0 / 1.286 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005957/0.961, allocations: 442.1 kB / 1.286 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.961, allocations: 8 kB / 1.286 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.437e-05/0.9611, allocations: 3.938 kB / 1.286 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.9611, allocations: 0 / 1.286 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.9611, allocations: 4 kB / 1.286 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.9611, allocations: 0 / 1.286 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.9611, allocations: 0 / 1.286 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.9613, allocations: 211.3 kB / 1.287 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-05/0.9614, allocations: 96.94 kB / 1.287 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.9614, allocations: 0 / 1.287 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.985e-05/0.9615, allocations: 11.98 kB / 1.287 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.9616, allocations: 11.98 kB / 1.287 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.9616, allocations: 8 kB / 1.287 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001414/0.9617, allocations: 137.2 kB / 1.287 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9617, allocations: 0 / 1.287 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003272/0.9621, allocations: 35.94 kB / 1.287 GB, free: 4.555 MB / 0.9825 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.0009181/0.963, allocations: 0.815 MB / 1.288 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.9632, allocations: 67.91 kB / 1.288 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9632, allocations: 0 / 1.288 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.134e-05/0.9633, allocations: 39.92 kB / 1.288 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.9637, allocations: 41.97 kB / 1.288 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.966, allocations: 1.787 MB / 1.29 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.9663, allocations: 0.7124 MB / 1.29 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.643e-05/0.9664, allocations: 21.47 kB / 1.29 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.145e-05/0.9665, allocations: 43.42 kB / 1.29 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of SimCode: time 9.92e-07/0.9665, allocations: 0 / 1.29 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.9997, allocations: 5.039 MB / 1.295 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.376/9.375, allocations: 16.84 kB / 1.295 GB, free: 12.01 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable plotConfiguration.active in file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! Error: Could not read variable sca.active in file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable sca.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable scaDel.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.669490947155282]