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.001358/0.001358, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001507/0.001507, allocations: 212.4 kB / 22.24 MB, free: 5.238 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.793 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.429/3.429, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 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.002101/0.002101, allocations: 67.56 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.353, allocations: 176.1 MB / 1.326 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003371/0.3564, allocations: 1.771 MB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.3576, allocations: 0.5735 MB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.517e-05/0.3577, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.3579, allocations: 39.7 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003646/0.3582, allocations: 123.4 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.3586, allocations: 146.5 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.3589, allocations: 235.3 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.359, allocations: 29.67 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.3591, allocations: 107.7 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005948/0.3651, allocations: 0.8012 MB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.048e-05/0.3651, allocations: 16 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.3652, allocations: 39.97 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.908e-05/0.3653, allocations: 43.78 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.3654, allocations: 79.62 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.3658, allocations: 211.1 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3658, allocations: 4 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3658, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.3658, allocations: 0 / 1.33 GB, free: 13.88 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.0007918/0.3666, allocations: 480.9 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3666, allocations: 8.031 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.265e-05/0.3667, allocations: 20.84 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.367, allocations: 186.7 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.367, allocations: 16 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.3671, allocations: 12 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.3673, allocations: 101.6 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3673, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.3673, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3673, allocations: 7.938 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.3674, allocations: 51.97 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007925/0.3682, allocations: 380.1 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.3684, allocations: 74.48 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.286e-05/0.3684, allocations: 24.86 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.3685, allocations: 3.984 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.3686, allocations: 91.38 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.3686, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.000338/0.369, allocations: 145.8 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.369, allocations: 63.28 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.3692, allocations: 190.4 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.3693, allocations: 37.7 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.3694, allocations: 124.5 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.3694, allocations: 31.73 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-05/0.3695, allocations: 57.91 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.3697, allocations: 326.8 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.7e-05/0.3698, allocations: 35.92 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/0.3701, allocations: 235.3 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.3702, allocations: 111.8 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3702, allocations: 0 / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002542/0.3705, allocations: 149.4 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3705, allocations: 8 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3705, allocations: 0 / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.3705, allocations: 4 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.917e-05/0.3706, allocations: 23.88 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3706, allocations: 4.156 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.3708, allocations: 27.88 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.3708, allocations: 7.938 kB / 1.333 GB, free: 10.64 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.000156/0.371, allocations: 141.6 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.371, allocations: 15.91 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.3713, allocations: 127.1 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.3713, allocations: 7.922 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3713, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3713, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005646/0.3718, allocations: 390 kB / 1.333 GB, free: 9.914 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3718, allocations: 3.938 kB / 1.333 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.3719, allocations: 11.98 kB / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3719, allocations: 0 / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.3719, allocations: 4 kB / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3719, allocations: 0 / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3719, allocations: 0 / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.3722, allocations: 221.2 kB / 1.333 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.3722, allocations: 23.89 kB / 1.333 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.3722, allocations: 4 kB / 1.333 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3723, allocations: 7.984 kB / 1.333 GB, free: 9.629 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.3724, allocations: 24.02 kB / 1.333 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.3724, allocations: 11.92 kB / 1.333 GB, free: 9.594 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001391/0.3726, allocations: 136.3 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3726, allocations: 0 / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003139/0.3729, allocations: 51.88 kB / 1.334 GB, free: 9.41 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.0004226/0.3733, allocations: 177 kB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002422/0.3735, allocations: 91.84 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3735, allocations: 0 / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.88e-05/0.3736, allocations: 36.3 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.374, allocations: 54.17 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006477/0.3747, allocations: 294.8 kB / 1.334 GB, free: 8.773 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.3748, allocations: 107.5 kB / 1.334 GB, free: 8.645 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.527e-05/0.3748, allocations: 29.47 kB / 1.334 GB, free: 8.617 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.881e-05/0.3749, allocations: 23.42 kB / 1.334 GB, free: 8.594 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3749, allocations: 0 / 1.334 GB, free: 8.594 MB / 1.029 GB Notification: Performance of Templates: time 0.008274/0.3832, allocations: 3.647 MB / 1.338 GB, free: 5.012 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 -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/jenkins/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.34001325070858]