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.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.0008266/0.0008266, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001204/0.002031, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007405/0.0007405, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009458/0.001686, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.9386/0.9386, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08981/1.028, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.927/1.927, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4801/2.407, allocations: 123.3 MB / 0.728 GB, free: 5.84 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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: 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_12_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_12_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.7293 GB, free: 4.586 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.275e-05, allocations: 9.766 kB / 0.7293 GB, free: 4.578 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.00365/0.003673, allocations: 1.862 MB / 0.7311 GB, free: 2.727 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.004907, allocations: 0.6244 MB / 0.7317 GB, free: 2.105 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.005008, allocations: 3.938 kB / 0.7317 GB, free: 2.102 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.005171, allocations: 21.22 kB / 0.7318 GB, free: 2.082 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000384/0.005555, allocations: 116.9 kB / 0.7319 GB, free: 1.977 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.005983, allocations: 166.5 kB / 0.732 GB, free: 1.816 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003503/0.006334, allocations: 227.6 kB / 0.7322 GB, free: 1.602 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.006464, allocations: 31.5 kB / 0.7323 GB, free: 1.57 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009099/0.01556, allocations: 2.373 MB / 0.7346 GB, free: 144 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.01582, allocations: 97.52 kB / 0.7347 GB, free: 48 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.569e-05/0.01586, allocations: 12 kB / 0.7347 GB, free: 36 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.01598, allocations: 35.88 kB / 0.7347 GB, free: 0 / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.826e-05/0.01606, allocations: 31.91 kB / 0.7348 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.003e-05/0.01615, allocations: 43.81 kB / 0.7348 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.01653, allocations: 144.3 kB / 0.7349 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.93e-05/0.01655, allocations: 0 / 0.7349 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.803e-06/0.01655, allocations: 2.062 kB / 0.7349 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.922e-05/0.01657, allocations: 0 / 0.7349 GB, free: 15.79 MB / 0.7136 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.0007811/0.01736, allocations: 487.2 kB / 0.7354 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.0174, allocations: 8.781 kB / 0.7354 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.184e-05/0.01747, allocations: 24.89 kB / 0.7354 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.01773, allocations: 170.9 kB / 0.7356 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.01775, allocations: 12.56 kB / 0.7356 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.01778, allocations: 18.12 kB / 0.7356 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.01791, allocations: 73.64 kB / 0.7357 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.01792, allocations: 0 / 0.7357 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.01793, allocations: 0 / 0.7357 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.01794, allocations: 7.984 kB / 0.7357 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.941e-05/0.01799, allocations: 23.92 kB / 0.7357 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005904/0.01859, allocations: 281.8 kB / 0.736 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.01873, allocations: 58.42 kB / 0.7361 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.01876, allocations: 17.89 kB / 0.7361 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.01879, allocations: 0 / 0.7361 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.01895, allocations: 85.72 kB / 0.7362 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 2.114e-06/0.01896, allocations: 1 kB / 0.7362 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.000189/0.01914, allocations: 89.59 kB / 0.7362 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.01919, allocations: 52.09 kB / 0.7363 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.01936, allocations: 193 kB / 0.7365 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.01939, allocations: 36.39 kB / 0.7365 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.705e-05/0.01947, allocations: 108.5 kB / 0.7366 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.0195, allocations: 39.72 kB / 0.7366 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.124e-05/0.01959, allocations: 49.66 kB / 0.7367 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.0197, allocations: 334.7 kB / 0.737 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.895e-05/0.01973, allocations: 12 kB / 0.737 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.01996, allocations: 228.9 kB / 0.7372 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.02008, allocations: 95.34 kB / 0.7373 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.02008, allocations: 0 / 0.7373 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001809/0.02027, allocations: 108.5 kB / 0.7374 GB, free: 13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.02029, allocations: 8.75 kB / 0.7374 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.0203, allocations: 3.984 kB / 0.7374 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.02031, allocations: 4.5 kB / 0.7375 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.02044, allocations: 27.92 kB / 0.7375 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.02044, allocations: 3.438 kB / 0.7375 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.02057, allocations: 27.88 kB / 0.7375 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.02058, allocations: 4 kB / 0.7375 GB, free: 12.92 MB / 0.7136 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.0001222/0.0207, allocations: 124.6 kB / 0.7376 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.02073, allocations: 19.92 kB / 0.7377 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.02091, allocations: 83.08 kB / 0.7377 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.02092, allocations: 4 kB / 0.7377 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.02093, allocations: 6.781 kB / 0.7377 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.02093, allocations: 3.984 kB / 0.7377 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.02139, allocations: 290.5 kB / 0.738 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.02139, allocations: 4 kB / 0.738 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.596e-05/0.02145, allocations: 7.984 kB / 0.738 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.02149, allocations: 15.95 kB / 0.738 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.0215, allocations: 3.984 kB / 0.7381 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.02151, allocations: 8.516 kB / 0.7381 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.02152, allocations: 9.438 kB / 0.7381 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.02152, allocations: 0 / 0.7381 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.0217, allocations: 169.7 kB / 0.7382 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.02172, allocations: 4 kB / 0.7382 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.4e-05/0.0218, allocations: 12.52 kB / 0.7382 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.02186, allocations: 17.36 kB / 0.7383 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.02189, allocations: 7.984 kB / 0.7383 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.066e-05/0.02195, allocations: 53.84 kB / 0.7383 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.02195, allocations: 0 / 0.7383 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003069/0.02226, allocations: 41.34 kB / 0.7384 GB, free: 12 MB / 0.7136 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.0004897/0.02275, allocations: 164.1 kB / 0.7385 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.02292, allocations: 69.3 kB / 0.7386 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/0.02293, allocations: 4.75 kB / 0.7386 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6e-05/0.02299, allocations: 43.52 kB / 0.7386 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.02332, allocations: 60.67 kB / 0.7387 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007985/0.02412, allocations: 291.7 kB / 0.739 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.727e-05/0.02418, allocations: 72.48 kB / 0.739 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.671e-05/0.02425, allocations: 26.41 kB / 0.7391 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.02444, allocations: 105.3 kB / 0.7392 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of SimCode: time 8.92e-07/0.02444, allocations: 1.219 kB / 0.7392 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of Templates: time 0.007471/0.03191, allocations: 3.706 MB / 0.7428 GB, free: 7.668 MB / 0.7136 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter/Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.994372286833823]