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.001719/0.001719, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00244/0.00244, allocations: 210 kB / 22.99 MB, free: 4.957 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.589/1.589, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 3.312/3.312, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.00209/0.00209, allocations: 61.97 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4243, allocations: 176.1 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003646/0.4279, allocations: 1.77 MB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.4292, allocations: 0.5889 MB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.978e-05/0.4293, allocations: 7.938 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.4295, allocations: 27.73 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004445/0.43, allocations: 119.4 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.4304, allocations: 154.1 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.4307, allocations: 227.5 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.4309, allocations: 37.66 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002805/0.4312, allocations: 111.7 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006222/0.4374, allocations: 0.801 MB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.006e-05/0.4375, allocations: 16 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.4376, allocations: 32 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.755e-05/0.4377, allocations: 39.89 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.4378, allocations: 67.64 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004915/0.4383, allocations: 223.1 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4383, allocations: 4 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4383, allocations: 3.938 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.4383, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 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.0008809/0.4392, allocations: 476.9 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.4392, allocations: 8.031 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.771e-05/0.4393, allocations: 20.84 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.4397, allocations: 186.7 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.4397, allocations: 12 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.4397, allocations: 16 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.44, allocations: 97.64 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.44, allocations: 4 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.44, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.44, allocations: 7.938 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.4401, allocations: 59.89 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008416/0.441, allocations: 380.2 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.4411, allocations: 70.5 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/0.4412, allocations: 29.06 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.4412, allocations: 7.938 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.4414, allocations: 91.36 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.4414, allocations: 0 / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0003529/0.4418, allocations: 152.9 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.4418, allocations: 59.34 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.4421, allocations: 186.4 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.4421, allocations: 37.64 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.4422, allocations: 128.5 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.4423, allocations: 35.73 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.4425, allocations: 57.67 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4426, allocations: 322.8 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.241e-05/0.4427, allocations: 27.98 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.443, allocations: 243.3 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.4432, allocations: 109 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4432, allocations: 4 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003344/0.4436, allocations: 145.5 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.4436, allocations: 4 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.4436, allocations: 0 / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.4436, allocations: 4 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.4437, allocations: 23.86 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.4437, allocations: 4 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.4439, allocations: 28.03 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.444, allocations: 8 kB / 1.334 GB, free: 9.754 MB / 1.029 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.0001776/0.4441, allocations: 133.6 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.4442, allocations: 19.89 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.4444, allocations: 127.8 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.4444, allocations: 3.938 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4444, allocations: 4 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4444, allocations: 0 / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005722/0.445, allocations: 390.5 kB / 1.335 GB, free: 9.031 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.445, allocations: 7.938 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.445, allocations: 4 kB / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.445, allocations: 0 / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.4451, allocations: 11.98 kB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4451, allocations: 0 / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4451, allocations: 0 / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.4453, allocations: 221.7 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.4454, allocations: 23.89 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.4454, allocations: 3.984 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.4455, allocations: 8 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.19e-05/0.4456, allocations: 19.97 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.4456, allocations: 8 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001307/0.4457, allocations: 140.3 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4457, allocations: 0 / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003191/0.446, allocations: 47.89 kB / 1.335 GB, free: 8.531 MB / 1.029 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.0004392/0.4465, allocations: 177.1 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002281/0.4467, allocations: 91.83 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.4467, allocations: 4 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.357e-05/0.4468, allocations: 39.92 kB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.4473, allocations: 56.2 kB / 1.336 GB, free: 8.195 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006763/0.448, allocations: 290.9 kB / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.4481, allocations: 107.4 kB / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.072e-05/0.4482, allocations: 29.42 kB / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.4482, allocations: 27.42 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4482, allocations: 0 / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of Templates: time 0.008857/0.4571, allocations: 3.665 MB / 1.34 GB, free: 4.105 MB / 1.029 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=400 -s cvode -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: 9.661683093989268]