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.001708/0.001708, allocations: 113 kB / 18.94 MB, free: 2.934 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.002178/0.002178, allocations: 209.6 kB / 22.25 MB, free: 5.082 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 8.004 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.849/2.849, allocations: 476.8 MB / 0.7707 GB, free: 4.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.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.002069/0.002069, allocations: 66.27 kB / 1.117 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3581, allocations: 170 MB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003581/0.3617, allocations: 1.823 MB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.363, allocations: 0.6083 MB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.319e-05/0.3631, allocations: 4 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.3633, allocations: 31.7 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003939/0.3637, allocations: 119.4 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.3641, allocations: 155.7 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.3644, allocations: 223.5 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.3646, allocations: 41.19 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.3647, allocations: 99.73 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006303/0.371, allocations: 0.8095 MB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.882e-05/0.3711, allocations: 16 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.3712, allocations: 39.98 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.301e-05/0.3713, allocations: 43.78 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.3714, allocations: 83.56 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004033/0.3718, allocations: 215.1 kB / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3719, allocations: 0 / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3719, allocations: 0 / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.3719, allocations: 4 kB / 1.288 GB, free: 7.477 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.000888/0.3727, allocations: 482.6 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.3728, allocations: 12.03 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.972e-05/0.3728, allocations: 38.73 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.576e-05/0.3729, allocations: 20.84 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.3732, allocations: 190.5 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.3733, allocations: 8 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.3733, allocations: 20 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.3735, allocations: 95.7 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3735, allocations: 0 / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.3736, allocations: 8 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.3736, allocations: 3.938 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.3737, allocations: 51.97 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009008/0.3746, allocations: 443.4 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.3748, allocations: 70.48 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.283e-05/0.3748, allocations: 32.84 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.3749, allocations: 7.969 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.3751, allocations: 100.5 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.3751, allocations: 4 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0003448/0.3755, allocations: 138.3 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.3755, allocations: 63.33 kB / 1.289 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.3757, allocations: 187.6 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.3758, allocations: 33.7 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.3759, allocations: 128.4 kB / 1.29 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.3759, allocations: 27.81 kB / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.376, allocations: 57.67 kB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.3762, allocations: 326.8 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-05/0.3763, allocations: 27.98 kB / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.3765, allocations: 124.5 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.3767, allocations: 111.6 kB / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3767, allocations: 3.938 kB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002789/0.377, allocations: 149.4 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.377, allocations: 8.156 kB / 1.29 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.377, allocations: 7.938 kB / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.377, allocations: 0 / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.3772, allocations: 19.98 kB / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3772, allocations: 0 / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.3774, allocations: 27.88 kB / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.3774, allocations: 4.219 kB / 1.29 GB, free: 4.254 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.0001677/0.3775, allocations: 133.8 kB / 1.291 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.3776, allocations: 27.77 kB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/0.3779, allocations: 142.8 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.3779, allocations: 4 kB / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.3779, allocations: 4 kB / 1.291 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3779, allocations: 0 / 1.291 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000656/0.3785, allocations: 425.4 kB / 1.291 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3785, allocations: 0 / 1.291 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.032e-05/0.3786, allocations: 8 kB / 1.291 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3786, allocations: 0 / 1.291 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3786, allocations: 7.984 kB / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3786, allocations: 0 / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3786, allocations: 0 / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.3788, allocations: 215.4 kB / 1.291 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.753e-05/0.3789, allocations: 23.89 kB / 1.291 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.3789, allocations: 11.92 kB / 1.291 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.379, allocations: 4 kB / 1.291 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.3791, allocations: 23.97 kB / 1.291 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.3791, allocations: 4 kB / 1.291 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001324/0.3792, allocations: 137.6 kB / 1.292 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3792, allocations: 0 / 1.292 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003217/0.3796, allocations: 51.88 kB / 1.292 GB, free: 2.973 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.0008848/0.3804, allocations: 0.8185 MB / 1.292 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.3807, allocations: 83.91 kB / 1.292 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3807, allocations: 0 / 1.292 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.55e-05/0.3808, allocations: 39.92 kB / 1.293 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.3812, allocations: 57.94 kB / 1.293 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.3835, allocations: 1.853 MB / 1.294 GB, free: 20 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.3839, allocations: 0.7281 MB / 1.295 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.978e-05/0.384, allocations: 21.47 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.364e-05/0.3841, allocations: 47.42 kB / 1.295 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/0.3841, allocations: 0 / 1.295 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03782/0.4219, allocations: 5.326 MB / 1.3 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.68, allocations: 1.719 kB / 1.3 GB, free: 10.03 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.703781534000882]