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.001513/0.001513, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002113/0.002113, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.961 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.744/2.744, allocations: 476.7 MB / 0.7707 GB, free: 4.23 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.00214/0.00214, allocations: 69.98 kB / 1.117 GB, free: 39.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3362, allocations: 170 MB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003974/0.3402, allocations: 1.821 MB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.3415, allocations: 0.6006 MB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.3416, allocations: 7.938 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.3418, allocations: 23.73 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004546/0.3423, allocations: 119.4 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.3427, allocations: 159.5 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003916/0.3431, allocations: 231.4 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.3433, allocations: 33.25 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.3435, allocations: 107.7 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006571/0.3501, allocations: 0.7986 MB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.3502, allocations: 20 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002413/0.3504, allocations: 39.98 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.3506, allocations: 39.84 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.3508, allocations: 87.55 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007144/0.3515, allocations: 215.1 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.3515, allocations: 0 / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.494e-06/0.3515, allocations: 0 / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.3515, allocations: 3.938 kB / 1.288 GB, free: 7.445 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.0008962/0.3524, allocations: 484.9 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.3525, allocations: 12.03 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.418e-05/0.3525, allocations: 34.75 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.194e-05/0.3526, allocations: 20.84 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.3529, allocations: 190.5 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.3529, allocations: 8 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.3529, allocations: 16 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.3531, allocations: 89.66 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3531, allocations: 3.938 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.3532, allocations: 8 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.3532, allocations: 11.92 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.3533, allocations: 55.91 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008956/0.3542, allocations: 435.5 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.3543, allocations: 78.48 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.653e-05/0.3544, allocations: 28.84 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.3544, allocations: 0 / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.3546, allocations: 95.38 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.963e-06/0.3546, allocations: 0 / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0003829/0.355, allocations: 148.6 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.3551, allocations: 55.41 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.3553, allocations: 195.6 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.3553, allocations: 33.7 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.3555, allocations: 132.4 kB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.3555, allocations: 27.8 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.3556, allocations: 49.69 kB / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3558, allocations: 330.8 kB / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.686e-05/0.3558, allocations: 27.98 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.3561, allocations: 124.5 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.3562, allocations: 113 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3562, allocations: 0 / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002589/0.3565, allocations: 157.4 kB / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3565, allocations: 8 kB / 1.29 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.3565, allocations: 4.156 kB / 1.29 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3565, allocations: 4.047 kB / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.995e-05/0.3566, allocations: 23.86 kB / 1.29 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.3566, allocations: 12.12 kB / 1.29 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.3568, allocations: 23.89 kB / 1.29 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.3568, allocations: 4 kB / 1.29 GB, free: 4.207 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.0001297/0.357, allocations: 133.8 kB / 1.291 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.357, allocations: 15.91 kB / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.3572, allocations: 138.9 kB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3572, allocations: 4 kB / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3572, allocations: 0 / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3572, allocations: 4 kB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005859/0.3578, allocations: 428.2 kB / 1.291 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3578, allocations: 0 / 1.291 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.3579, allocations: 12 kB / 1.291 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3579, allocations: 0 / 1.291 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3579, allocations: 0 / 1.291 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3579, allocations: 0 / 1.291 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3579, allocations: 0 / 1.291 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.3581, allocations: 227.3 kB / 1.291 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.3582, allocations: 23.89 kB / 1.291 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.3582, allocations: 4 kB / 1.291 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3583, allocations: 7.984 kB / 1.291 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.3584, allocations: 19.97 kB / 1.291 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.3584, allocations: 4 kB / 1.291 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00013/0.3585, allocations: 137.6 kB / 1.292 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3585, allocations: 0 / 1.292 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003324/0.3589, allocations: 51.89 kB / 1.292 GB, free: 2.938 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.0008403/0.3597, allocations: 0.8258 MB / 1.292 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.3599, allocations: 83.84 kB / 1.292 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3599, allocations: 0 / 1.292 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.353e-05/0.36, allocations: 48.23 kB / 1.293 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.3604, allocations: 46.41 kB / 1.293 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.3627, allocations: 1.852 MB / 1.294 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.3631, allocations: 0.7164 MB / 1.295 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.92e-05/0.3632, allocations: 29.45 kB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.499e-05/0.3633, allocations: 55.34 kB / 1.295 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.3633, allocations: 0 / 1.295 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03623/0.3995, allocations: 5.318 MB / 1.3 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.86, allocations: 13.45 kB / 1.3 GB, free: 10 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 & /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/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: 18.64756290987134]