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.001994/0.001994, allocations: 104 kB / 16.45 MB, free: 6.449 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.002523/0.002523, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.53/1.53, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.257/3.257, allocations: 0.49 GB / 0.7916 GB, free: 33.13 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.002924/0.002924, allocations: 65.62 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3587, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003674/0.3623, allocations: 1.799 MB / 1.323 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3635, allocations: 0.6045 MB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.3636, allocations: 0 / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.3638, allocations: 35.66 kB / 1.323 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003545/0.3642, allocations: 115.5 kB / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.3645, allocations: 150.5 kB / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003212/0.3648, allocations: 235.4 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.365, allocations: 29.83 kB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.3651, allocations: 103.7 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00615/0.3713, allocations: 0.8133 MB / 1.325 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.681e-05/0.3713, allocations: 16 kB / 1.325 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.3715, allocations: 35.98 kB / 1.325 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.421e-05/0.3716, allocations: 35.84 kB / 1.325 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.3717, allocations: 87.56 kB / 1.325 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.3721, allocations: 219.1 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3721, allocations: 4 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3721, allocations: 0 / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.3721, allocations: 0 / 1.325 GB, free: 15.24 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.0008258/0.3729, allocations: 0.5371 MB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.373, allocations: 15.98 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.159e-05/0.373, allocations: 46.73 kB / 1.326 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.3731, allocations: 16.84 kB / 1.326 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.3735, allocations: 252.4 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.3735, allocations: 12 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.3735, allocations: 12 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.3737, allocations: 89.66 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.3737, allocations: 4 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.3737, allocations: 7.984 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3737, allocations: 3.938 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.3739, allocations: 59.91 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008563/0.3747, allocations: 464.4 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.3749, allocations: 74.5 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.3749, allocations: 28.84 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.375, allocations: 3.984 kB / 1.327 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.3751, allocations: 99.36 kB / 1.327 GB, free: 13.35 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.3751, allocations: 0 / 1.327 GB, free: 13.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0003576/0.3755, allocations: 157.6 kB / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.3755, allocations: 55.41 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.3757, allocations: 187 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.3758, allocations: 37.64 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.3759, allocations: 124.5 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.3759, allocations: 31.75 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.936e-05/0.376, allocations: 65.66 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3762, allocations: 326.8 kB / 1.328 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.46e-05/0.3762, allocations: 27.98 kB / 1.328 GB, free: 12.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.3765, allocations: 128.5 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.3766, allocations: 102.9 kB / 1.328 GB, free: 12.03 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3766, allocations: 4 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002569/0.3769, allocations: 149.5 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3769, allocations: 4 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3769, allocations: 7.922 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3769, allocations: 4 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.962e-05/0.377, allocations: 15.98 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.377, allocations: 7.938 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.3772, allocations: 24.09 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.3772, allocations: 8 kB / 1.328 GB, free: 11.8 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.0001303/0.3774, allocations: 141.7 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.3774, allocations: 19.89 kB / 1.328 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.3776, allocations: 132.1 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3776, allocations: 0 / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3777, allocations: 0 / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.3777, allocations: 7.984 kB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005832/0.3782, allocations: 458.1 kB / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3782, allocations: 0 / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.3783, allocations: 11.98 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3783, allocations: 0 / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3783, allocations: 4 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3783, allocations: 0 / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3783, allocations: 0 / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.3785, allocations: 223.3 kB / 1.329 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.369e-05/0.3786, allocations: 96.95 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.3787, allocations: 8 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.3788, allocations: 11.98 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/0.3788, allocations: 11.98 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.3788, allocations: 12 kB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001415/0.379, allocations: 140.3 kB / 1.329 GB, free: 10.45 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.379, allocations: 0 / 1.329 GB, free: 10.45 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003256/0.3793, allocations: 43.94 kB / 1.329 GB, free: 10.4 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.000967/0.3803, allocations: 0.8281 MB / 1.33 GB, free: 9.574 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.3805, allocations: 82.53 kB / 1.33 GB, free: 9.496 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3805, allocations: 0 / 1.33 GB, free: 9.496 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.396e-05/0.3806, allocations: 39.92 kB / 1.33 GB, free: 9.457 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.381, allocations: 47.89 kB / 1.33 GB, free: 9.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.3833, allocations: 1.862 MB / 1.332 GB, free: 7.434 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.3837, allocations: 0.7202 MB / 1.333 GB, free: 6.688 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.82e-05/0.3837, allocations: 25.47 kB / 1.333 GB, free: 6.66 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.215e-05/0.3838, allocations: 47.42 kB / 1.333 GB, free: 6.613 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3838, allocations: 0 / 1.333 GB, free: 6.613 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.4121, allocations: 5.117 MB / 1.338 GB, free: 1.602 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.278/8.69, allocations: 1.719 kB / 1.338 GB, free: 1.602 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.693909748923033]