Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001052/0.001052, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001518/0.00257, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007164/0.0007164, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009241/0.001641, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.015/1.015, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09141/1.107, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.338/2.338, allocations: 447.1 MB / 0.675 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2355/2.573, allocations: 146 MB / 0.8176 GB, free: 3.82 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.[0-9,]+.|sca1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.[0-9,]+.|sca1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017e-05/1.136e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002435/0.002446, allocations: 1.884 MB / 0.8207 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003866/0.006312, allocations: 0.608 MB / 0.8213 GB, free: 0 / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.986e-05/0.006392, allocations: 4.047 kB / 0.8213 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.006499, allocations: 35.55 kB / 0.8214 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.006754, allocations: 111.3 kB / 0.8215 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.007029, allocations: 166.1 kB / 0.8216 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.007264, allocations: 223.4 kB / 0.8218 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.007359, allocations: 30.42 kB / 0.8219 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01325/0.02061, allocations: 2.381 MB / 0.8242 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.02076, allocations: 95.73 kB / 0.8243 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.02079, allocations: 12 kB / 0.8243 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-05/0.02087, allocations: 31.94 kB / 0.8243 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.02092, allocations: 27.92 kB / 0.8244 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.075e-05/0.02098, allocations: 39.88 kB / 0.8244 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.02121, allocations: 151.3 kB / 0.8245 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.02122, allocations: 0 / 0.8245 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.81e-07/0.02122, allocations: 0 / 0.8245 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.003017/0.02424, allocations: 4 kB / 0.8245 GB, free: 13.66 MB / 0.8073 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.0006054/0.02484, allocations: 487.2 kB / 0.825 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.02487, allocations: 8.031 kB / 0.825 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.66e-05/0.02493, allocations: 20.92 kB / 0.825 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.02512, allocations: 175.4 kB / 0.8252 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.02514, allocations: 16.56 kB / 0.8252 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.02518, allocations: 11.94 kB / 0.8252 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.02529, allocations: 77.64 kB / 0.8253 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.0253, allocations: 0 / 0.8253 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.02531, allocations: 4 kB / 0.8253 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.02532, allocations: 11.98 kB / 0.8253 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.62e-05/0.02536, allocations: 23.92 kB / 0.8253 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.02581, allocations: 278.9 kB / 0.8256 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.02592, allocations: 50.55 kB / 0.8257 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.02594, allocations: 24.94 kB / 0.8257 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.02596, allocations: 4 kB / 0.8257 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/0.02606, allocations: 72.62 kB / 0.8258 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.02606, allocations: 0 / 0.8258 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0001657/0.02623, allocations: 101.3 kB / 0.8259 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.02626, allocations: 59.34 kB / 0.8259 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.02638, allocations: 186.3 kB / 0.8261 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.02641, allocations: 33.7 kB / 0.8261 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.02647, allocations: 108.5 kB / 0.8262 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.02649, allocations: 39.72 kB / 0.8263 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.756e-05/0.02656, allocations: 53.64 kB / 0.8263 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.02668, allocations: 330.7 kB / 0.8266 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.342e-05/0.0267, allocations: 19.98 kB / 0.8266 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.02687, allocations: 225.3 kB / 0.8269 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.448e-05/0.02695, allocations: 87.8 kB / 0.8269 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.02696, allocations: 0 / 0.8269 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001306/0.02709, allocations: 105.6 kB / 0.827 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.0271, allocations: 4 kB / 0.827 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.0271, allocations: 3.984 kB / 0.8271 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002393/0.0295, allocations: 4 kB / 0.8271 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-05/0.02958, allocations: 24 kB / 0.8271 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.0296, allocations: 7.938 kB / 0.8271 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.802e-05/0.02969, allocations: 19.88 kB / 0.8271 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.0297, allocations: 8 kB / 0.8271 GB, free: 10.78 MB / 0.8073 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 8.451e-05/0.02979, allocations: 132.4 kB / 0.8272 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.0298, allocations: 12.09 kB / 0.8273 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.02992, allocations: 95.05 kB / 0.8273 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.02992, allocations: 4 kB / 0.8273 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.02993, allocations: 0 / 0.8273 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.02993, allocations: 0 / 0.8273 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.03022, allocations: 298.4 kB / 0.8276 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.03022, allocations: 0 / 0.8276 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/0.03025, allocations: 4 kB / 0.8276 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.03027, allocations: 19.89 kB / 0.8277 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.03028, allocations: 4 kB / 0.8277 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.03029, allocations: 12 kB / 0.8277 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.03029, allocations: 3.938 kB / 0.8277 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.03029, allocations: 0 / 0.8277 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.0304, allocations: 178.3 kB / 0.8278 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.03041, allocations: 8 kB / 0.8279 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.742e-05/0.03048, allocations: 7.984 kB / 0.8279 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.03052, allocations: 19.91 kB / 0.8279 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.03054, allocations: 4 kB / 0.8279 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.296e-05/0.03058, allocations: 40.81 kB / 0.8279 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.03058, allocations: 0 / 0.8279 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001652/0.03075, allocations: 51.92 kB / 0.828 GB, free: 9.84 MB / 0.8073 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.0002642/0.03101, allocations: 171.9 kB / 0.8281 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.03121, allocations: 72.69 kB / 0.8282 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.03122, allocations: 0 / 0.8282 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.601e-05/0.03128, allocations: 40.78 kB / 0.8282 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.03161, allocations: 345 kB / 0.8286 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005712/0.03218, allocations: 294.9 kB / 0.8289 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.648e-05/0.03222, allocations: 75.98 kB / 0.8289 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.065e-05/0.03227, allocations: 21.47 kB / 0.8289 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.03244, allocations: 101.3 kB / 0.829 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of SimCode: time 8.02e-07/0.03244, allocations: 3.938 kB / 0.829 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of Templates: time 0.004914/0.03735, allocations: 3.68 MB / 0.8326 GB, free: 5.047 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.338056270033121]