Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001878/0.001878, allocations: 80.2 kB / 19.76 MB, free: 1.867 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.002327/0.002327, allocations: 162.2 kB / 23.01 MB, free: 4.609 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.445/1.445, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.862/2.862, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002225/0.002225, allocations: 75.88 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8368/0.839, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.004375/0.8434, allocations: 1.77 MB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.8451, allocations: 0.5957 MB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.8453, allocations: 5.062 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.8455, allocations: 27.34 kB / 1.189 GB, free: 14.62 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0006011/0.8461, allocations: 122.5 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005863/0.8467, allocations: 151.8 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004987/0.8472, allocations: 223.5 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.8474, allocations: 27.89 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.8476, allocations: 102 kB / 1.19 GB, free: 14.34 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009359/0.857, allocations: 0.8059 MB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.498e-05/0.857, allocations: 16.44 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.8572, allocations: 36.86 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.538e-05/0.8573, allocations: 44.91 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.8574, allocations: 76.77 kB / 1.19 GB, free: 14.02 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004588/0.8579, allocations: 209.6 kB / 1.191 GB, free: 13.94 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.8579, allocations: 1.188 kB / 1.191 GB, free: 13.94 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8579, allocations: 0 / 1.191 GB, free: 13.94 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.8579, allocations: 0.5156 kB / 1.191 GB, free: 13.94 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.000819/0.8587, allocations: 476.7 kB / 1.191 GB, free: 13.54 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.8587, allocations: 9.031 kB / 1.191 GB, free: 13.54 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.764e-05/0.8588, allocations: 24.36 kB / 1.191 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.8592, allocations: 197.3 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.8592, allocations: 11.41 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.95e-05/0.8592, allocations: 14.69 kB / 1.191 GB, free: 13.33 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.8595, allocations: 96 kB / 1.191 GB, free: 13.28 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.8595, allocations: 0 / 1.191 GB, free: 13.28 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.8595, allocations: 9.703 kB / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.8595, allocations: 14.88 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.8597, allocations: 52.25 kB / 1.192 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.8607, allocations: 379.2 kB / 1.192 GB, free: 12.98 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.8609, allocations: 66.09 kB / 1.192 GB, free: 12.94 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.22e-05/0.861, allocations: 27.77 kB / 1.192 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.861, allocations: 2.625 kB / 1.192 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/0.8612, allocations: 95.75 kB / 1.192 GB, free: 12.86 MB / 1.076 GB Notification: Performance of pre-optimization done (n=14): time 2.033e-06/0.8612, allocations: 0 / 1.192 GB, free: 12.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=14): time 0.0004232/0.8617, allocations: 151.3 kB / 1.192 GB, free: 12.79 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.8617, allocations: 58.14 kB / 1.192 GB, free: 12.72 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.8619, allocations: 194.1 kB / 1.192 GB, free: 12.59 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.862, allocations: 29.08 kB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.8621, allocations: 123 kB / 1.193 GB, free: 12.45 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.8621, allocations: 43.75 kB / 1.193 GB, free: 12.41 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.8623, allocations: 53.95 kB / 1.193 GB, free: 12.38 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.05e-05/0.8623, allocations: 329 kB / 1.193 GB, free: 12.06 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.8624, allocations: 32.31 kB / 1.193 GB, free: 12.05 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.8628, allocations: 238.2 kB / 1.193 GB, free: 11.82 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.863, allocations: 108 kB / 1.193 GB, free: 11.75 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.863, allocations: 0 / 1.193 GB, free: 11.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003879/0.8634, allocations: 147.9 kB / 1.194 GB, free: 11.67 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.8634, allocations: 9.281 kB / 1.194 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.8634, allocations: 1.812 kB / 1.194 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.8634, allocations: 2.594 kB / 1.194 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.8636, allocations: 31.16 kB / 1.194 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.8636, allocations: 2.938 kB / 1.194 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/0.8639, allocations: 16.27 kB / 1.194 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.8639, allocations: 9.219 kB / 1.194 GB, free: 11.64 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 0.0001324/0.8641, allocations: 134.1 kB / 1.194 GB, free: 11.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.8641, allocations: 24.27 kB / 1.194 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003495/0.8645, allocations: 125.2 kB / 1.194 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.8645, allocations: 6.797 kB / 1.194 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8645, allocations: 0 / 1.194 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.964e-06/0.8645, allocations: 1.5 kB / 1.194 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007324/0.8652, allocations: 384.3 kB / 1.194 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.8652, allocations: 5.031 kB / 1.194 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.459e-05/0.8653, allocations: 7.453 kB / 1.194 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.8653, allocations: 4.031 kB / 1.194 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.8653, allocations: 5.609 kB / 1.194 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.8653, allocations: 1.125 kB / 1.194 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.8653, allocations: 5.812 kB / 1.194 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.8656, allocations: 223.5 kB / 1.194 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.612e-05/0.8657, allocations: 26.89 kB / 1.194 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.8657, allocations: 2.406 kB / 1.194 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.8659, allocations: 7.828 kB / 1.195 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.858e-05/0.866, allocations: 16.41 kB / 1.195 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/0.866, allocations: 7.016 kB / 1.195 GB, free: 10.94 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001666/0.8662, allocations: 144.2 kB / 1.195 GB, free: 10.84 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8662, allocations: 0 / 1.195 GB, free: 10.84 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005794/0.8668, allocations: 38.2 kB / 1.195 GB, free: 10.84 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.0004977/0.8673, allocations: 173.5 kB / 1.195 GB, free: 10.71 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003458/0.8676, allocations: 95.73 kB / 1.195 GB, free: 10.68 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.8676, allocations: 1.094 kB / 1.195 GB, free: 10.68 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.8677, allocations: 40.64 kB / 1.195 GB, free: 10.67 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006831/0.8684, allocations: 54.72 kB / 1.195 GB, free: 10.65 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008106/0.8692, allocations: 295.9 kB / 1.195 GB, free: 10.45 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.8694, allocations: 111.2 kB / 1.195 GB, free: 10.37 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001158/0.8695, allocations: 21.83 kB / 1.195 GB, free: 10.37 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.016e-05/0.8696, allocations: 22.75 kB / 1.195 GB, free: 10.36 MB / 1.076 GB Notification: Performance of SimCode: time 5.11e-07/0.8696, allocations: 0 / 1.195 GB, free: 10.36 MB / 1.076 GB Notification: Performance of Templates: time 0.01314/0.8827, allocations: 3.542 MB / 1.199 GB, free: 9.91 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.647966727963649]