Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 106.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 190.7 kB / 20.78 MB, free: 1.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.574/2.574, allocations: 443.5 MB / 0.7304 GB, free: 14.05 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002897/0.002897, allocations: 63.89 kB / 1.059 GB, free: 484 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3456, allocations: 160.7 MB / 1.216 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003171/0.3488, allocations: 1.8 MB / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3499, allocations: 0.6083 MB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.246e-05/0.35, allocations: 0 / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.3501, allocations: 39.66 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003881/0.3505, allocations: 123.4 kB / 1.219 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.3509, allocations: 151.7 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.3512, allocations: 219.5 kB / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3513, allocations: 25.53 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.3514, allocations: 107.7 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006028/0.3575, allocations: 0.8043 MB / 1.22 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.298e-05/0.3575, allocations: 16 kB / 1.22 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.3576, allocations: 43.92 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.757e-05/0.3577, allocations: 43.89 kB / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.3578, allocations: 83.52 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.3582, allocations: 211.1 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3582, allocations: 0 / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.614e-06/0.3582, allocations: 0 / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.463e-06/0.3582, allocations: 0 / 1.22 GB, free: 11.33 MB / 0.9669 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.0008504/0.3591, allocations: 0.5372 MB / 1.221 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3591, allocations: 16.03 kB / 1.221 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.346e-05/0.3592, allocations: 24.78 kB / 1.221 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.3596, allocations: 252.5 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.3596, allocations: 4 kB / 1.221 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/0.3596, allocations: 16 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.3598, allocations: 97.64 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3598, allocations: 0 / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.3598, allocations: 4 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3599, allocations: 3.938 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.36, allocations: 55.97 kB / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008692/0.3608, allocations: 464.5 kB / 1.222 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.361, allocations: 74.48 kB / 1.222 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.365e-05/0.3611, allocations: 28.84 kB / 1.222 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.3611, allocations: 4 kB / 1.222 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.3613, allocations: 95.33 kB / 1.222 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.3613, allocations: 0 / 1.222 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0003372/0.3616, allocations: 153.6 kB / 1.222 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/0.3617, allocations: 59.34 kB / 1.222 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.3619, allocations: 203.4 kB / 1.222 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.3619, allocations: 25.7 kB / 1.222 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.595e-05/0.362, allocations: 124.5 kB / 1.222 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.3621, allocations: 39.72 kB / 1.222 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.573e-05/0.3622, allocations: 53.64 kB / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3623, allocations: 334.8 kB / 1.223 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.429e-05/0.3624, allocations: 31.98 kB / 1.223 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.3626, allocations: 126.8 kB / 1.223 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.3628, allocations: 97.3 kB / 1.223 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3628, allocations: 7.938 kB / 1.223 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002521/0.363, allocations: 157.2 kB / 1.223 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3631, allocations: 8 kB / 1.223 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3631, allocations: 0 / 1.223 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3631, allocations: 7.938 kB / 1.223 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.792e-05/0.3632, allocations: 15.98 kB / 1.223 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.3632, allocations: 4 kB / 1.223 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.3634, allocations: 19.94 kB / 1.223 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.3634, allocations: 12.14 kB / 1.223 GB, free: 7.945 MB / 0.9669 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.0001486/0.3635, allocations: 141.8 kB / 1.223 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.3636, allocations: 11.91 kB / 1.223 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.3638, allocations: 135 kB / 1.224 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3638, allocations: 0 / 1.224 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3638, allocations: 0 / 1.224 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3638, allocations: 0 / 1.224 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006345/0.3644, allocations: 466.2 kB / 1.224 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3645, allocations: 4 kB / 1.224 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.628e-05/0.3645, allocations: 4 kB / 1.224 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3645, allocations: 0 / 1.224 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.3645, allocations: 0 / 1.224 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.3645, allocations: 7.984 kB / 1.224 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3645, allocations: 0 / 1.224 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.3647, allocations: 219.3 kB / 1.224 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.474e-05/0.3648, allocations: 105 kB / 1.224 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.3649, allocations: 0 / 1.224 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.365, allocations: 11.92 kB / 1.224 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.365, allocations: 15.98 kB / 1.224 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.365, allocations: 11.98 kB / 1.224 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001449/0.3652, allocations: 143.1 kB / 1.224 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3652, allocations: 0 / 1.224 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002963/0.3655, allocations: 43.88 kB / 1.225 GB, free: 6.543 MB / 0.9669 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.0003836/0.3659, allocations: 179.5 kB / 1.225 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.3661, allocations: 91.72 kB / 1.225 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3661, allocations: 0 / 1.225 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.17e-05/0.3662, allocations: 39.92 kB / 1.225 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.3666, allocations: 39.95 kB / 1.225 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006484/0.3672, allocations: 301.2 kB / 1.225 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.3676, allocations: 0.7202 MB / 1.226 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.304e-05/0.3676, allocations: 29.41 kB / 1.226 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.3677, allocations: 23.42 kB / 1.226 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.3677, allocations: 0 / 1.226 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of Templates: time 0.007562/0.3753, allocations: 3.355 MB / 1.229 GB, free: 1.773 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.131558862514794]