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.001375/0.001375, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.001455/0.001455, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.505/1.505, allocations: 230.6 MB / 253.5 MB, free: 15.13 MB / 206.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.922/2.922, allocations: 0.49 GB / 0.7923 GB, free: 1.297 MB / 0.6231 GB " [Timeout remaining time 176] 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.002044/0.002044, allocations: 67.88 kB / 1.15 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9782/0.9803, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003525/0.9838, allocations: 1.798 MB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.985, allocations: 0.5987 MB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.9851, allocations: 7 kB / 1.324 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.9853, allocations: 28.98 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.9856, allocations: 117.6 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.9859, allocations: 149.9 kB / 1.325 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.9862, allocations: 229.9 kB / 1.325 GB, free: 23.15 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.9863, allocations: 35.2 kB / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.687e-05/0.9864, allocations: 104.2 kB / 1.325 GB, free: 23.1 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005652/0.9921, allocations: 0.8048 MB / 1.326 GB, free: 22.87 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.258e-05/0.9921, allocations: 22.81 kB / 1.326 GB, free: 22.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.9922, allocations: 34.47 kB / 1.326 GB, free: 22.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.9923, allocations: 42.52 kB / 1.326 GB, free: 22.83 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.21e-05/0.9924, allocations: 85.91 kB / 1.326 GB, free: 22.78 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.9927, allocations: 210.8 kB / 1.326 GB, free: 22.7 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.9927, allocations: 6.844 kB / 1.326 GB, free: 22.69 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9927, allocations: 4 kB / 1.326 GB, free: 22.69 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.9927, allocations: 0 / 1.326 GB, free: 22.69 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.0006867/0.9934, allocations: 0.5384 MB / 1.327 GB, free: 22.19 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.9934, allocations: 12.33 kB / 1.327 GB, free: 22.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.256e-05/0.9935, allocations: 23.33 kB / 1.327 GB, free: 22.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.9937, allocations: 246.4 kB / 1.327 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.9938, allocations: 10.25 kB / 1.327 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.9938, allocations: 18.88 kB / 1.327 GB, free: 21.92 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.994, allocations: 92.36 kB / 1.327 GB, free: 21.87 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.994, allocations: 0 / 1.327 GB, free: 21.87 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.994, allocations: 5.125 kB / 1.327 GB, free: 21.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.994, allocations: 6.188 kB / 1.327 GB, free: 21.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.9942, allocations: 59.86 kB / 1.327 GB, free: 21.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007663/0.9949, allocations: 470.9 kB / 1.328 GB, free: 21.5 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.9951, allocations: 76.12 kB / 1.328 GB, free: 21.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.322e-05/0.9951, allocations: 28.59 kB / 1.328 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.9952, allocations: 1.688 kB / 1.328 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.9953, allocations: 99.41 kB / 1.328 GB, free: 21.36 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.9953, allocations: 0.9062 kB / 1.328 GB, free: 21.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0003341/0.9957, allocations: 149.3 kB / 1.328 GB, free: 21.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.9957, allocations: 54.59 kB / 1.328 GB, free: 21.23 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.9959, allocations: 191.2 kB / 1.328 GB, free: 21.1 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.9959, allocations: 33.45 kB / 1.328 GB, free: 21.06 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.443e-05/0.996, allocations: 125.1 kB / 1.328 GB, free: 20.95 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.996, allocations: 36.36 kB / 1.328 GB, free: 20.92 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.58e-05/0.9961, allocations: 53.59 kB / 1.328 GB, free: 20.89 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.377e-05/0.9961, allocations: 333.6 kB / 1.329 GB, free: 20.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.376e-05/0.9962, allocations: 27.92 kB / 1.329 GB, free: 20.56 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.9964, allocations: 125.4 kB / 1.329 GB, free: 20.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.9966, allocations: 117.8 kB / 1.329 GB, free: 20.38 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.9966, allocations: 0.9062 kB / 1.329 GB, free: 20.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002614/0.9968, allocations: 143.6 kB / 1.329 GB, free: 20.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.9968, allocations: 10.06 kB / 1.329 GB, free: 20.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.9969, allocations: 8.375 kB / 1.329 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.9969, allocations: 6.688 kB / 1.329 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.937e-05/0.997, allocations: 20.56 kB / 1.329 GB, free: 20.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.997, allocations: 2.625 kB / 1.329 GB, free: 20.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.9972, allocations: 21.34 kB / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.9972, allocations: 4.969 kB / 1.329 GB, free: 20.27 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 9.86e-05/0.9973, allocations: 137.6 kB / 1.329 GB, free: 20.14 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.9973, allocations: 24 kB / 1.329 GB, free: 20.13 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.9975, allocations: 132.9 kB / 1.329 GB, free: 20.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.9975, allocations: 5.469 kB / 1.329 GB, free: 20.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.9975, allocations: 0.5 kB / 1.329 GB, free: 20.05 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.9976, allocations: 4.469 kB / 1.329 GB, free: 20.05 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.998, allocations: 450.8 kB / 1.33 GB, free: 19.69 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.998, allocations: 1.031 kB / 1.33 GB, free: 19.69 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.981e-05/0.9981, allocations: 9.656 kB / 1.33 GB, free: 19.69 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.9981, allocations: 4 kB / 1.33 GB, free: 19.68 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.9981, allocations: 1.594 kB / 1.33 GB, free: 19.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.9981, allocations: 1 kB / 1.33 GB, free: 19.68 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.9981, allocations: 0 / 1.33 GB, free: 19.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.9983, allocations: 224.9 kB / 1.33 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.9983, allocations: 106.9 kB / 1.33 GB, free: 19.4 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.9984, allocations: 5.062 kB / 1.33 GB, free: 19.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.9985, allocations: 7.359 kB / 1.33 GB, free: 19.4 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.9985, allocations: 18.17 kB / 1.33 GB, free: 19.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.9986, allocations: 8.797 kB / 1.33 GB, free: 19.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001103/0.9987, allocations: 139.7 kB / 1.33 GB, free: 19.3 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9987, allocations: 0 / 1.33 GB, free: 19.3 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003247/0.999, allocations: 43.69 kB / 1.33 GB, free: 19.29 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.0003617/0.9994, allocations: 163.7 kB / 1.331 GB, free: 19.17 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.9996, allocations: 98.28 kB / 1.331 GB, free: 19.14 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9996, allocations: 4.062 kB / 1.331 GB, free: 19.14 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.49e-05/0.9997, allocations: 45.38 kB / 1.331 GB, free: 19.12 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/1, allocations: 44.53 kB / 1.331 GB, free: 19.11 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006232/1.001, allocations: 318.6 kB / 1.331 GB, free: 18.88 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/1.001, allocations: 0.7211 MB / 1.332 GB, free: 18.18 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/1.001, allocations: 23.19 kB / 1.332 GB, free: 18.18 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/1.001, allocations: 0 / 1.332 GB, free: 18.18 MB / 1.061 GB Notification: Performance of Templates: time 0.006672/1.008, allocations: 3.045 MB / 1.335 GB, free: 17.83 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/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: 12.838840773998527]