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.001821/0.001821, allocations: 78.25 kB / 19.76 MB, free: 2.027 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.002196/0.002196, allocations: 159 kB / 23.01 MB, free: 4.949 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.416/1.416, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.823/2.823, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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: 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.002239/0.002239, allocations: 63.91 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8647/0.8669, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002611/0.8695, allocations: 1.779 MB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000933/0.8705, allocations: 0.5884 MB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.367e-05/0.8705, allocations: 7.875 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.8707, allocations: 33.03 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.871, allocations: 112.6 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.8713, allocations: 157.8 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.8715, allocations: 230 kB / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.8717, allocations: 29.2 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.8718, allocations: 111.4 kB / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005752/0.8775, allocations: 0.7896 MB / 1.158 GB, free: 31.19 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.579e-05/0.8776, allocations: 16.88 kB / 1.158 GB, free: 31.19 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.43e-05/0.8776, allocations: 36.73 kB / 1.158 GB, free: 31.18 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.263e-05/0.8777, allocations: 35.47 kB / 1.158 GB, free: 31.16 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.918e-05/0.8778, allocations: 80.89 kB / 1.158 GB, free: 31.12 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.8781, allocations: 210.3 kB / 1.158 GB, free: 31.04 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8781, allocations: 0 / 1.158 GB, free: 31.04 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.522e-06/0.8781, allocations: 4 kB / 1.158 GB, free: 31.03 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.8781, allocations: 0 / 1.158 GB, free: 31.03 MB / 1.076 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.0006603/0.8787, allocations: 484.1 kB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.8788, allocations: 11.12 kB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.351e-05/0.8789, allocations: 17.28 kB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.8791, allocations: 182.2 kB / 1.159 GB, free: 30.44 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.8791, allocations: 15.56 kB / 1.159 GB, free: 30.44 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.8791, allocations: 14.44 kB / 1.159 GB, free: 30.43 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.8793, allocations: 98.52 kB / 1.159 GB, free: 30.38 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.8793, allocations: 0 / 1.159 GB, free: 30.38 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.8793, allocations: 6.719 kB / 1.159 GB, free: 30.37 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.8793, allocations: 6.812 kB / 1.159 GB, free: 30.37 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.931e-05/0.8794, allocations: 54.39 kB / 1.159 GB, free: 30.35 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006701/0.8801, allocations: 377.7 kB / 1.159 GB, free: 30.08 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.8803, allocations: 85.42 kB / 1.159 GB, free: 30.03 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.8803, allocations: 27.55 kB / 1.159 GB, free: 30.01 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.8803, allocations: 2.906 kB / 1.159 GB, free: 30.01 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.8804, allocations: 93.95 kB / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.8804, allocations: 3.938 kB / 1.159 GB, free: 29.94 MB / 1.076 GB Notification: Performance of matching and sorting (n=14): time 0.0002777/0.8807, allocations: 145.8 kB / 1.16 GB, free: 29.88 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.8808, allocations: 58.16 kB / 1.16 GB, free: 29.81 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.8809, allocations: 192.8 kB / 1.16 GB, free: 29.68 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.8809, allocations: 35.08 kB / 1.16 GB, free: 29.65 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/0.881, allocations: 128 kB / 1.16 GB, free: 29.53 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.881, allocations: 35.81 kB / 1.16 GB, free: 29.5 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.248e-05/0.8811, allocations: 52.53 kB / 1.16 GB, free: 29.48 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.125e-05/0.8811, allocations: 330.3 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.644e-05/0.8812, allocations: 28.38 kB / 1.16 GB, free: 29.15 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.8814, allocations: 247.1 kB / 1.161 GB, free: 28.91 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.8815, allocations: 99.39 kB / 1.161 GB, free: 28.84 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.8815, allocations: 0 / 1.161 GB, free: 28.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002083/0.8817, allocations: 152.1 kB / 1.161 GB, free: 28.76 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.8818, allocations: 5.875 kB / 1.161 GB, free: 28.76 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.8818, allocations: 0 / 1.161 GB, free: 28.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.8818, allocations: 2.938 kB / 1.161 GB, free: 28.76 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.243e-05/0.8819, allocations: 25.58 kB / 1.161 GB, free: 28.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.8819, allocations: 3 kB / 1.161 GB, free: 28.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.8821, allocations: 19.7 kB / 1.161 GB, free: 28.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.8821, allocations: 5.875 kB / 1.161 GB, free: 28.75 MB / 1.076 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.779e-05/0.8822, allocations: 145.7 kB / 1.161 GB, free: 28.61 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.8822, allocations: 20 kB / 1.161 GB, free: 28.6 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.8824, allocations: 125.1 kB / 1.161 GB, free: 28.52 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.8824, allocations: 7.219 kB / 1.161 GB, free: 28.52 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.8824, allocations: 0 / 1.161 GB, free: 28.52 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.8824, allocations: 3.469 kB / 1.161 GB, free: 28.52 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/0.8828, allocations: 378.5 kB / 1.162 GB, free: 28.24 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.8828, allocations: 3.938 kB / 1.162 GB, free: 28.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.8828, allocations: 13.28 kB / 1.162 GB, free: 28.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.8828, allocations: 0 / 1.162 GB, free: 28.23 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.8828, allocations: 10.11 kB / 1.162 GB, free: 28.22 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.8828, allocations: 3.938 kB / 1.162 GB, free: 28.22 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.8828, allocations: 0 / 1.162 GB, free: 28.22 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.883, allocations: 225.6 kB / 1.162 GB, free: 28.05 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.883, allocations: 25.14 kB / 1.162 GB, free: 28.04 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.8831, allocations: 2.875 kB / 1.162 GB, free: 28.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.8832, allocations: 14.12 kB / 1.162 GB, free: 28.03 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.8832, allocations: 12.44 kB / 1.162 GB, free: 28.03 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.8832, allocations: 9.781 kB / 1.162 GB, free: 28.02 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.734e-05/0.8833, allocations: 146.4 kB / 1.162 GB, free: 27.93 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.8833, allocations: 0 / 1.162 GB, free: 27.93 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002985/0.8836, allocations: 41.23 kB / 1.162 GB, free: 27.92 MB / 1.076 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.0003104/0.8839, allocations: 171.5 kB / 1.162 GB, free: 27.8 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.8841, allocations: 85.16 kB / 1.162 GB, free: 27.78 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.8841, allocations: 2.844 kB / 1.162 GB, free: 27.78 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.818e-05/0.8842, allocations: 41.86 kB / 1.162 GB, free: 27.77 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.8846, allocations: 56.5 kB / 1.162 GB, free: 27.74 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.8851, allocations: 289 kB / 1.163 GB, free: 27.54 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.05e-05/0.8852, allocations: 110.2 kB / 1.163 GB, free: 27.47 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.954e-05/0.8852, allocations: 26.48 kB / 1.163 GB, free: 27.46 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.8853, allocations: 28 kB / 1.163 GB, free: 27.45 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/0.8853, allocations: 0 / 1.163 GB, free: 27.45 MB / 1.076 GB Notification: Performance of Templates: time 0.006593/0.8919, allocations: 3.533 MB / 1.166 GB, free: 27.02 MB / 1.076 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 -s ida -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/jenkins1/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: 8.646825441042893]