Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.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.00186/0.00186, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.00271/0.00271, allocations: 211.6 kB / 22.24 MB, free: 5.117 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.611/1.611, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.428/3.428, allocations: 0.4892 GB / 0.7944 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Examples.Scatter,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Examples_Scatter",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.002104/0.002104, allocations: 70.97 kB / 1.153 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3612, allocations: 176.1 MB / 1.325 GB, free: 2.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003932/0.3651, allocations: 1.777 MB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.3665, allocations: 0.5851 MB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.3666, allocations: 7.938 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.3668, allocations: 27.73 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004898/0.3673, allocations: 115.5 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.3677, allocations: 154.2 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003792/0.3681, allocations: 239.4 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.3683, allocations: 33.95 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.3685, allocations: 103.7 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006254/0.3747, allocations: 0.7901 MB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.881e-05/0.3748, allocations: 16 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.3749, allocations: 32 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.242e-05/0.375, allocations: 39.83 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.3751, allocations: 75.62 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003963/0.3755, allocations: 215.2 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3755, allocations: 0 / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3755, allocations: 4 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.3755, allocations: 0 / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000872/0.3764, allocations: 484.8 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.3764, allocations: 8.031 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.3765, allocations: 42.73 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.546e-05/0.3766, allocations: 20.84 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.3769, allocations: 186.5 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.3769, allocations: 12 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.3769, allocations: 20 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.3772, allocations: 93.64 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3772, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.3772, allocations: 8 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.3772, allocations: 7.938 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.3773, allocations: 51.91 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008785/0.3782, allocations: 411.6 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.3784, allocations: 70.5 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.811e-05/0.3784, allocations: 28.84 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.3785, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.3786, allocations: 96.61 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.3786, allocations: 0 / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0003469/0.379, allocations: 160 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.379, allocations: 51.41 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.3792, allocations: 186.5 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.3793, allocations: 33.7 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.3794, allocations: 128.5 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.3794, allocations: 31.95 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.275e-05/0.3795, allocations: 57.67 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3797, allocations: 330.8 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.016e-05/0.3797, allocations: 27.98 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.3801, allocations: 241.2 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.3803, allocations: 113 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3803, allocations: 0 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002712/0.3805, allocations: 145.5 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3806, allocations: 8 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3806, allocations: 3.938 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3806, allocations: 4 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.3807, allocations: 19.92 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3807, allocations: 4 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.3809, allocations: 28.03 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.3809, allocations: 7.984 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (sca1.sampleTrigger,sca1.tActivateLast,$PRE.sca1.tActivateLast,sca1.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 (20): * Single equations (assignments): 20 * 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.0001499/0.3811, allocations: 138.2 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.3811, allocations: 11.91 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.3813, allocations: 142 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.3813, allocations: 0 / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3813, allocations: 0 / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3814, allocations: 7.969 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006183/0.382, allocations: 421.3 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.382, allocations: 7.984 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.382, allocations: 4 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.382, allocations: 0 / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.382, allocations: 8 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.382, allocations: 0 / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.382, allocations: 0 / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.3823, allocations: 219.3 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-05/0.3824, allocations: 31.84 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.3824, allocations: 0 / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.3825, allocations: 11.98 kB / 1.333 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.3826, allocations: 15.92 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.3826, allocations: 15.98 kB / 1.333 GB, free: 9.965 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001467/0.3827, allocations: 140.3 kB / 1.333 GB, free: 9.828 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3827, allocations: 0 / 1.333 GB, free: 9.828 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003224/0.3831, allocations: 39.94 kB / 1.333 GB, free: 9.789 MB / 1.029 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 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0009139/0.384, allocations: 0.8248 MB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002317/0.3842, allocations: 87.84 kB / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3842, allocations: 0 / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.236e-05/0.3843, allocations: 43.92 kB / 1.334 GB, free: 8.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.3847, allocations: 45.61 kB / 1.334 GB, free: 8.801 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.3871, allocations: 1.852 MB / 1.336 GB, free: 6.836 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.3872, allocations: 107.5 kB / 1.336 GB, free: 6.707 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.724e-05/0.3873, allocations: 29.45 kB / 1.336 GB, free: 6.68 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.591e-05/0.3874, allocations: 55.41 kB / 1.336 GB, free: 6.625 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3874, allocations: 0 / 1.336 GB, free: 6.625 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03577/0.4231, allocations: 5.94 MB / 1.342 GB, free: 0.8867 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.19, allocations: 9.922 kB / 1.342 GB, free: 0.8789 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sca.y[1] in file Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.csv. Warning: Get data of variable sca.y[1] from file Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.49580904422328]