Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001668/0.001668, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001947/0.001947, allocations: 209.9 kB / 22.24 MB, free: 5.262 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.781 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.989/2.989, allocations: 476 MB / 0.7699 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 176] 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.Examples.Scatter,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_11_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.002222/0.002222, allocations: 69.25 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3117, allocations: 169.9 MB / 1.283 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003277/0.315, allocations: 1.782 MB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.3163, allocations: 0.585 MB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.686e-05/0.3163, allocations: 7.938 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.3165, allocations: 23.72 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004119/0.3169, allocations: 119.5 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004107/0.3174, allocations: 164.1 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.3177, allocations: 227.4 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.3178, allocations: 25.73 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.3179, allocations: 107.7 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006258/0.3242, allocations: 0.7922 MB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.324e-05/0.3243, allocations: 16 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.3244, allocations: 39.98 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.039e-05/0.3245, allocations: 39.84 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.3246, allocations: 79.56 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003897/0.325, allocations: 211.2 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.325, allocations: 0 / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.128e-06/0.325, allocations: 3.984 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.325, allocations: 0 / 1.287 GB, free: 8.504 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007785/0.3258, allocations: 480.8 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3258, allocations: 15.95 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.3259, allocations: 38.75 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.014e-05/0.326, allocations: 24.84 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.3262, allocations: 178.6 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.3263, allocations: 19.98 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.3263, allocations: 20 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.3265, allocations: 96.78 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3265, allocations: 0 / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.3265, allocations: 4 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.3266, allocations: 11.88 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.3267, allocations: 51.97 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008334/0.3275, allocations: 407.5 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.3277, allocations: 66.56 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.773e-05/0.3277, allocations: 28.84 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.3278, allocations: 4 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.328, allocations: 99.3 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.328, allocations: 0 / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0003387/0.3283, allocations: 156.8 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.3283, allocations: 55.41 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.3285, allocations: 187.6 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.3286, allocations: 37.69 kB / 1.289 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.3287, allocations: 124.5 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.3287, allocations: 35.75 kB / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.095e-05/0.3288, allocations: 53.67 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.329, allocations: 326.8 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.544e-05/0.329, allocations: 27.98 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/0.3293, allocations: 243.5 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.3295, allocations: 109 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3295, allocations: 4 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002509/0.3298, allocations: 145.4 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3298, allocations: 4 kB / 1.29 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3298, allocations: 3.938 kB / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.3298, allocations: 4 kB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3299, allocations: 19.92 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.3299, allocations: 8.156 kB / 1.29 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.3301, allocations: 23.88 kB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.3301, allocations: 8 kB / 1.29 GB, free: 5.168 MB / 0.9825 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.0001661/0.3303, allocations: 137.8 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.3303, allocations: 15.91 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.3306, allocations: 127.1 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3306, allocations: 0 / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3306, allocations: 4 kB / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3306, allocations: 3.984 kB / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005822/0.3312, allocations: 419.6 kB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3312, allocations: 0 / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.171e-05/0.3312, allocations: 11.94 kB / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3312, allocations: 4 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3312, allocations: 0 / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3312, allocations: 3.938 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.3312, allocations: 4 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.3315, allocations: 219.4 kB / 1.291 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.3315, allocations: 23.89 kB / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.3315, allocations: 4 kB / 1.291 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.3316, allocations: 11.98 kB / 1.291 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.3317, allocations: 19.97 kB / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.3317, allocations: 4 kB / 1.291 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001308/0.3319, allocations: 137.6 kB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3319, allocations: 0 / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003116/0.3322, allocations: 51.83 kB / 1.291 GB, free: 3.906 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 (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.000823/0.333, allocations: 0.8299 MB / 1.292 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.3332, allocations: 83.84 kB / 1.292 GB, free: 3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3332, allocations: 320 / 1.292 GB, free: 3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.904e-05/0.3333, allocations: 39.98 kB / 1.292 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.3337, allocations: 57.94 kB / 1.292 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.3358, allocations: 1.847 MB / 1.294 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.336, allocations: 115.4 kB / 1.294 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.986e-05/0.336, allocations: 17.48 kB / 1.294 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.461e-05/0.3361, allocations: 51.41 kB / 1.294 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.3361, allocations: 0 / 1.294 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03466/0.3708, allocations: 5.941 MB / 1.3 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.18, allocations: 5.781 kB / 1.3 GB, free: 11.01 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Plotters.Examples.Scatter_res.csv. Warning: Get data of variable sca.y[1] from file Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.350049587897956]