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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 105.1 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.85/2.85, allocations: 476.7 MB / 0.7611 GB, free: 15.71 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 59.91 kB / 1.104 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039/1.041, allocations: 168.7 MB / 1.269 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002979/1.044, allocations: 1.794 MB / 1.27 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001121/1.045, allocations: 0.61 MB / 1.271 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.733e-05/1.045, allocations: 1.5 kB / 1.271 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002259/1.045, allocations: 24.27 kB / 1.271 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004264/1.046, allocations: 125.4 kB / 1.271 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/1.046, allocations: 144.3 kB / 1.271 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003461/1.046, allocations: 228.8 kB / 1.272 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/1.046, allocations: 34.7 kB / 1.272 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/1.047, allocations: 100 kB / 1.272 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00593/1.052, allocations: 0.8095 MB / 1.272 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.634e-05/1.053, allocations: 16.75 kB / 1.272 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/1.053, allocations: 40.66 kB / 1.273 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.616e-05/1.053, allocations: 37.47 kB / 1.273 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/1.053, allocations: 92.62 kB / 1.273 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003888/1.053, allocations: 210.3 kB / 1.273 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.053, allocations: 4.719 kB / 1.273 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/1.053, allocations: 0 / 1.273 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.234e-05/1.053, allocations: 0 / 1.273 GB, free: 5.371 MB / 0.9981 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.0006856/1.054, allocations: 0.5347 MB / 1.273 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/1.054, allocations: 11.22 kB / 1.273 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/1.054, allocations: 40.41 kB / 1.273 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.028e-05/1.054, allocations: 27.83 kB / 1.273 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/1.054, allocations: 252.4 kB / 1.274 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/1.054, allocations: 10.41 kB / 1.274 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/1.054, allocations: 14.22 kB / 1.274 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/1.055, allocations: 93.77 kB / 1.274 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/1.055, allocations: 0 / 1.274 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/1.055, allocations: 8.281 kB / 1.274 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/1.055, allocations: 7.031 kB / 1.274 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/1.055, allocations: 55.22 kB / 1.274 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007463/1.055, allocations: 476.3 kB / 1.274 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/1.056, allocations: 72.39 kB / 1.274 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/1.056, allocations: 26.98 kB / 1.274 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/1.056, allocations: 4.656 kB / 1.274 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/1.056, allocations: 95.25 kB / 1.275 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/1.056, allocations: 0 / 1.275 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0003254/1.056, allocations: 151.8 kB / 1.275 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/1.056, allocations: 55.91 kB / 1.275 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/1.056, allocations: 194.2 kB / 1.275 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/1.056, allocations: 34.05 kB / 1.275 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/1.057, allocations: 126.8 kB / 1.275 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/1.057, allocations: 34.91 kB / 1.275 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.711e-05/1.057, allocations: 70.25 kB / 1.275 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.968e-05/1.057, allocations: 324 kB / 1.275 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.242e-05/1.057, allocations: 34.73 kB / 1.275 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/1.057, allocations: 121.8 kB / 1.276 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/1.057, allocations: 109.6 kB / 1.276 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.057, allocations: 0 / 1.276 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002351/1.057, allocations: 155.4 kB / 1.276 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/1.057, allocations: 5.875 kB / 1.276 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.057, allocations: 5.406 kB / 1.276 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/1.057, allocations: 2.75 kB / 1.276 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-05/1.058, allocations: 16.61 kB / 1.276 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.058, allocations: 1.938 kB / 1.276 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/1.058, allocations: 29.3 kB / 1.276 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/1.058, allocations: 4.844 kB / 1.276 GB, free: 2.906 MB / 0.9981 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 9.892e-05/1.058, allocations: 136 kB / 1.276 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/1.058, allocations: 17.34 kB / 1.276 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/1.058, allocations: 139.7 kB / 1.276 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.058, allocations: 1.625 kB / 1.276 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/1.058, allocations: 1.125 kB / 1.276 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/1.058, allocations: 0 / 1.276 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004581/1.059, allocations: 452.9 kB / 1.277 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.059, allocations: 0.6094 kB / 1.277 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/1.059, allocations: 10.59 kB / 1.277 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.059, allocations: 0.875 kB / 1.277 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/1.059, allocations: 2.656 kB / 1.277 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.059, allocations: 0.8125 kB / 1.277 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/1.059, allocations: 0.875 kB / 1.277 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/1.059, allocations: 224.3 kB / 1.277 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/1.059, allocations: 101.8 kB / 1.277 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/1.059, allocations: 7.734 kB / 1.277 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.546e-05/1.059, allocations: 13.61 kB / 1.277 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/1.059, allocations: 15.67 kB / 1.277 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/1.059, allocations: 8.078 kB / 1.277 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.927e-05/1.059, allocations: 137.5 kB / 1.277 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.059, allocations: 0 / 1.277 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002993/1.059, allocations: 41.95 kB / 1.277 GB, free: 1.93 MB / 0.9981 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.0006154/1.06, allocations: 0.8293 MB / 1.278 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002239/1.06, allocations: 85.16 kB / 1.278 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.06, allocations: 0.9688 kB / 1.278 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.256e-05/1.06, allocations: 45.78 kB / 1.278 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/1.061, allocations: 49.81 kB / 1.278 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/1.063, allocations: 1.848 MB / 1.28 GB, free: 15.65 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/1.063, allocations: 0.721 MB / 1.281 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.855e-05/1.063, allocations: 25.53 kB / 1.281 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.214e-05/1.063, allocations: 52.34 kB / 1.281 GB, free: 14.92 MB / 1.014 GB Notification: Performance of SimCode: time 3.61e-07/1.063, allocations: 4 kB / 1.281 GB, free: 14.91 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03328/1.097, allocations: 5.125 MB / 1.286 GB, free: 14.18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.542/9.639, allocations: 15.14 kB / 1.286 GB, free: 14.17 MB / 1.014 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.969037301372737]