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.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.001835/0.001835, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002511/0.002511, allocations: 192.1 kB / 22.11 MB, free: 4.332 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.637/1.637, allocations: 225.6 MB / 250.8 MB, free: 2.926 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.95/2.95, allocations: 495.8 MB / 0.783 GB, free: 12.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 71.88 kB / 1.137 GB, free: 12.28 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106/1.108, allocations: 173.6 MB / 1.307 GB, free: 33.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003006/1.111, allocations: 1.81 MB / 1.308 GB, free: 32.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001019/1.112, allocations: 0.5965 MB / 1.309 GB, free: 32.13 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.051e-05/1.112, allocations: 10.56 kB / 1.309 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002054/1.112, allocations: 33.89 kB / 1.309 GB, free: 32.1 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003423/1.113, allocations: 118.8 kB / 1.309 GB, free: 32.03 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/1.113, allocations: 159.8 kB / 1.309 GB, free: 31.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002558/1.113, allocations: 222.6 kB / 1.31 GB, free: 31.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/1.113, allocations: 32.36 kB / 1.31 GB, free: 31.85 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/1.113, allocations: 109.2 kB / 1.31 GB, free: 31.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005688/1.119, allocations: 0.8064 MB / 1.311 GB, free: 31.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.475e-05/1.119, allocations: 16.12 kB / 1.311 GB, free: 31.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/1.119, allocations: 43.08 kB / 1.311 GB, free: 31.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.409e-05/1.119, allocations: 43.47 kB / 1.311 GB, free: 31.53 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/1.119, allocations: 86.48 kB / 1.311 GB, free: 31.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003599/1.12, allocations: 210.2 kB / 1.311 GB, free: 31.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.12, allocations: 0 / 1.311 GB, free: 31.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.853e-06/1.12, allocations: 3.031 kB / 1.311 GB, free: 31.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.724e-06/1.12, allocations: 0 / 1.311 GB, free: 31.39 MB / 1.061 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.0007115/1.121, allocations: 473 kB / 1.311 GB, free: 30.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/1.121, allocations: 8.875 kB / 1.311 GB, free: 30.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.353e-05/1.121, allocations: 23.61 kB / 1.311 GB, free: 30.97 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/1.121, allocations: 191.8 kB / 1.312 GB, free: 30.79 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/1.121, allocations: 8.938 kB / 1.312 GB, free: 30.79 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/1.121, allocations: 14.28 kB / 1.312 GB, free: 30.79 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/1.121, allocations: 98.19 kB / 1.312 GB, free: 30.73 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.121, allocations: 0 / 1.312 GB, free: 30.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/1.121, allocations: 4 kB / 1.312 GB, free: 30.73 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/1.121, allocations: 6.781 kB / 1.312 GB, free: 30.73 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/1.121, allocations: 57.2 kB / 1.312 GB, free: 30.71 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007216/1.122, allocations: 436.8 kB / 1.312 GB, free: 30.4 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/1.122, allocations: 75.58 kB / 1.312 GB, free: 30.36 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.814e-05/1.122, allocations: 31.28 kB / 1.312 GB, free: 30.34 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/1.122, allocations: 0 / 1.312 GB, free: 30.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/1.122, allocations: 92.64 kB / 1.312 GB, free: 30.27 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/1.122, allocations: 0 / 1.312 GB, free: 30.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0003192/1.123, allocations: 153 kB / 1.312 GB, free: 30.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/1.123, allocations: 58.31 kB / 1.313 GB, free: 30.13 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/1.123, allocations: 189.1 kB / 1.313 GB, free: 30 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/1.123, allocations: 43.36 kB / 1.313 GB, free: 29.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/1.123, allocations: 124.3 kB / 1.313 GB, free: 29.85 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/1.123, allocations: 39.28 kB / 1.313 GB, free: 29.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.063e-05/1.123, allocations: 53.66 kB / 1.313 GB, free: 29.79 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.925e-05/1.123, allocations: 331 kB / 1.313 GB, free: 29.47 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.078e-05/1.123, allocations: 32.33 kB / 1.313 GB, free: 29.46 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/1.123, allocations: 129.5 kB / 1.313 GB, free: 29.36 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/1.124, allocations: 108 kB / 1.314 GB, free: 29.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.124, allocations: 4 kB / 1.314 GB, free: 29.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002189/1.124, allocations: 145.9 kB / 1.314 GB, free: 29.2 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/1.124, allocations: 5.875 kB / 1.314 GB, free: 29.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/1.124, allocations: 2.875 kB / 1.314 GB, free: 29.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/1.124, allocations: 6.891 kB / 1.314 GB, free: 29.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.489e-05/1.124, allocations: 18.86 kB / 1.314 GB, free: 29.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/1.124, allocations: 2.781 kB / 1.314 GB, free: 29.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/1.124, allocations: 27.92 kB / 1.314 GB, free: 29.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/1.124, allocations: 5.969 kB / 1.314 GB, free: 29.17 MB / 1.061 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.0001151/1.124, allocations: 143.3 kB / 1.314 GB, free: 29.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/1.124, allocations: 14.09 kB / 1.314 GB, free: 29.03 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/1.124, allocations: 136.1 kB / 1.314 GB, free: 28.95 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/1.124, allocations: 0 / 1.314 GB, free: 28.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/1.125, allocations: 2.906 kB / 1.314 GB, free: 28.95 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.125, allocations: 0 / 1.314 GB, free: 28.95 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/1.125, allocations: 433 kB / 1.314 GB, free: 28.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.125, allocations: 0 / 1.314 GB, free: 28.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.628e-05/1.125, allocations: 9.281 kB / 1.314 GB, free: 28.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/1.125, allocations: 0 / 1.314 GB, free: 28.62 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/1.125, allocations: 4 kB / 1.314 GB, free: 28.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/1.125, allocations: 2.844 kB / 1.314 GB, free: 28.61 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.125, allocations: 0 / 1.314 GB, free: 28.61 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/1.125, allocations: 228.6 kB / 1.315 GB, free: 28.44 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/1.125, allocations: 24.89 kB / 1.315 GB, free: 28.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/1.125, allocations: 6.703 kB / 1.315 GB, free: 28.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.849e-05/1.125, allocations: 6.875 kB / 1.315 GB, free: 28.42 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.081e-05/1.125, allocations: 12.77 kB / 1.315 GB, free: 28.42 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/1.125, allocations: 13.27 kB / 1.315 GB, free: 28.42 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.731e-05/1.126, allocations: 136.5 kB / 1.315 GB, free: 28.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.126, allocations: 0 / 1.315 GB, free: 28.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003025/1.126, allocations: 36.03 kB / 1.315 GB, free: 28.32 MB / 1.061 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.0004002/1.126, allocations: 179 kB / 1.315 GB, free: 28.19 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002187/1.127, allocations: 92.77 kB / 1.315 GB, free: 28.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.127, allocations: 0 / 1.315 GB, free: 28.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.126e-05/1.127, allocations: 37.67 kB / 1.315 GB, free: 28.16 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/1.127, allocations: 49.2 kB / 1.315 GB, free: 28.14 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005901/1.128, allocations: 295.4 kB / 1.316 GB, free: 27.94 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/1.128, allocations: 0.7211 MB / 1.316 GB, free: 27.24 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.021e-05/1.128, allocations: 26.2 kB / 1.316 GB, free: 27.23 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/1.128, allocations: 21.91 kB / 1.316 GB, free: 27.23 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/1.128, allocations: 0 / 1.316 GB, free: 27.23 MB / 1.061 GB Notification: Performance of Templates: time 0.006855/1.135, allocations: 3.384 MB / 1.32 GB, free: 26.91 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.7267564535141]