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.0009255/0.0009255, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001038/0.001038, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 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 0.9332/0.9332, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.07/2.07, allocations: 429.5 MB / 0.6733 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.[0-9,]+.|sca1.y.[0-9,]+.",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.[0-9,]+.|sca1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0.6562 kB / 0.8781 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.389e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.00231/0.002334, allocations: 1.843 MB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008407/0.003175, allocations: 0.6042 MB / 0.8805 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.514e-05/0.00324, allocations: 1 kB / 0.8805 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.003424, allocations: 35.64 kB / 0.8806 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.003724, allocations: 116.8 kB / 0.8807 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.00397, allocations: 155.6 kB / 0.8808 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.004178, allocations: 231.4 kB / 0.881 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.004289, allocations: 23.17 kB / 0.8811 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.00442, allocations: 147.7 kB / 0.8812 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003374/0.007794, allocations: 1.214 MB / 0.8824 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.007833, allocations: 17.53 kB / 0.8824 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.119e-05/0.007904, allocations: 35.94 kB / 0.8824 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.472e-05/0.007959, allocations: 43.81 kB / 0.8825 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.64e-05/0.008035, allocations: 63.81 kB / 0.8825 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.008299, allocations: 183.4 kB / 0.8827 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.008302, allocations: 0 / 0.8827 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.52e-07/0.008302, allocations: 4 kB / 0.8827 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.008307, allocations: 0 / 0.8827 GB, free: 2.152 MB / 0.8386 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.0006354/0.008942, allocations: 0.5692 MB / 0.8833 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.008984, allocations: 12.03 kB / 0.8833 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.968e-05/0.009053, allocations: 36.78 kB / 0.8833 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.00926, allocations: 189.8 kB / 0.8835 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.009274, allocations: 16.56 kB / 0.8835 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.009302, allocations: 19.94 kB / 0.8835 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.009425, allocations: 73.66 kB / 0.8836 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.009436, allocations: 0 / 0.8836 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.009449, allocations: 7.984 kB / 0.8836 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.009457, allocations: 0 / 0.8836 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.232e-05/0.009519, allocations: 35.86 kB / 0.8836 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005459/0.01006, allocations: 435.6 kB / 0.8841 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.01018, allocations: 63.03 kB / 0.8841 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.01021, allocations: 27.67 kB / 0.8841 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.01023, allocations: 3.984 kB / 0.8841 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001031/0.01034, allocations: 92.23 kB / 0.8842 GB, free: 452 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.01034, allocations: 0 / 0.8842 GB, free: 452 kB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0002326/0.01057, allocations: 133.4 kB / 0.8844 GB, free: 312 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.0106, allocations: 55.41 kB / 0.8844 GB, free: 244 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.01076, allocations: 244.5 kB / 0.8846 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.01078, allocations: 37.7 kB / 0.8847 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.895e-05/0.01086, allocations: 171.3 kB / 0.8848 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.01089, allocations: 27.75 kB / 0.8849 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.01095, allocations: 63.33 kB / 0.8849 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.01106, allocations: 0.5 MB / 0.8854 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.503e-05/0.01109, allocations: 23.94 kB / 0.8854 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.01129, allocations: 245.4 kB / 0.8857 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.515e-05/0.01138, allocations: 102.1 kB / 0.8858 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.01138, allocations: 0 / 0.8858 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001571/0.01154, allocations: 136.2 kB / 0.8859 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.01156, allocations: 8 kB / 0.8859 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.01156, allocations: 0 / 0.8859 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.01159, allocations: 4 kB / 0.8859 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.528e-05/0.01167, allocations: 23.92 kB / 0.8859 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.01168, allocations: 4.156 kB / 0.8859 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.045e-05/0.01177, allocations: 27.83 kB / 0.886 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.01178, allocations: 4 kB / 0.886 GB, free: 14.5 MB / 0.8542 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 8.87e-05/0.01187, allocations: 176.5 kB / 0.8861 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.01189, allocations: 19.91 kB / 0.8862 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.01204, allocations: 111.1 kB / 0.8863 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.01204, allocations: 4 kB / 0.8863 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01205, allocations: 0 / 0.8863 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.01205, allocations: 3.984 kB / 0.8863 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.01238, allocations: 433.1 kB / 0.8867 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01238, allocations: 4 kB / 0.8867 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.23e-05/0.01241, allocations: 4 kB / 0.8867 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.01241, allocations: 0 / 0.8867 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.01242, allocations: 11.88 kB / 0.8867 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01242, allocations: 7.938 kB / 0.8867 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01242, allocations: 0 / 0.8867 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.01256, allocations: 263.1 kB / 0.887 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.01259, allocations: 23.89 kB / 0.887 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.01261, allocations: 7.938 kB / 0.887 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.005e-05/0.01266, allocations: 15.98 kB / 0.887 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.01271, allocations: 15.97 kB / 0.887 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.01272, allocations: 4 kB / 0.887 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.095e-05/0.01281, allocations: 176.2 kB / 0.8872 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01281, allocations: 0 / 0.8872 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001969/0.013, allocations: 39.94 kB / 0.8872 GB, free: 13.13 MB / 0.8542 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.0002876/0.01329, allocations: 174.3 kB / 0.8874 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.01344, allocations: 79.58 kB / 0.8875 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01344, allocations: 4.312 kB / 0.8875 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.161e-05/0.01349, allocations: 43.61 kB / 0.8875 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.01375, allocations: 63.03 kB / 0.8876 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.01423, allocations: 289.8 kB / 0.8879 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.348e-05/0.01427, allocations: 71.98 kB / 0.8879 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.092e-05/0.01432, allocations: 25.41 kB / 0.888 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.01436, allocations: 24.5 kB / 0.888 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.01436, allocations: 4 kB / 0.888 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of Templates: time 0.00536/0.01972, allocations: 3.537 MB / 0.8914 GB, free: 8.855 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_Scatter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.480617560911924]