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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 198.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.776/2.776, allocations: 437 MB / 0.7099 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 67.89 kB / 0.8685 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6525/0.6546, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.00417/0.6589, allocations: 1.93 MB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.6605, allocations: 0.6397 MB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.6607, allocations: 7.938 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.661, allocations: 27.83 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0004224/0.6615, allocations: 83.67 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004951/0.662, allocations: 135.8 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003589/0.6624, allocations: 219.4 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.6625, allocations: 33.55 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003064/0.6628, allocations: 103.6 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01257/0.6754, allocations: 0.7376 MB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.6755, allocations: 12 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.6757, allocations: 39.92 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.976e-05/0.6758, allocations: 31.84 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.676, allocations: 83.55 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.6764, allocations: 199.3 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6764, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6764, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.6764, allocations: 4 kB / 1.021 GB, free: 14.66 MB / 0.7794 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.001073/0.6775, allocations: 0.5412 MB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.6776, allocations: 12.03 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.6777, allocations: 16.75 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.6781, allocations: 240.5 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.6781, allocations: 11.98 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.6782, allocations: 16 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.6784, allocations: 89.66 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.6784, allocations: 0 / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.6784, allocations: 8 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.6785, allocations: 3.938 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.6786, allocations: 55.97 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.6796, allocations: 476.2 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.6798, allocations: 74.55 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.627e-05/0.6799, allocations: 40.72 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.6799, allocations: 4 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.6801, allocations: 87.38 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.964e-06/0.6801, allocations: 0 / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0003815/0.6805, allocations: 151.3 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/0.6807, allocations: 63.61 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.681, allocations: 192.4 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.412e-05/0.681, allocations: 37.64 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.6812, allocations: 128.3 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.6812, allocations: 27.66 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.6814, allocations: 57.58 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.6815, allocations: 326.8 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.22e-05/0.6816, allocations: 35.98 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.6819, allocations: 126.4 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.6821, allocations: 106.1 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6821, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003069/0.6824, allocations: 149 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.6825, allocations: 11.94 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.6825, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.6825, allocations: 16.03 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.6826, allocations: 15.98 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.6826, allocations: 0 / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.6829, allocations: 27.83 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.6829, allocations: 8 kB / 1.024 GB, free: 11.28 MB / 0.7794 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.0001733/0.6831, allocations: 130.3 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.6831, allocations: 15.81 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.6834, allocations: 135 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.6834, allocations: 8.031 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6834, allocations: 0 / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6834, allocations: 0 / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007375/0.6842, allocations: 462.2 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.6842, allocations: 0 / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.6842, allocations: 11.98 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-06/0.6843, allocations: 0 / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.6843, allocations: 4 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.6843, allocations: 8 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.6843, allocations: 3.938 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.6846, allocations: 215.3 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.244e-05/0.6847, allocations: 100.9 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.6847, allocations: 0 / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.6848, allocations: 11.98 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.685, allocations: 15.92 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.685, allocations: 8 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001409/0.6851, allocations: 143.4 kB / 1.025 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6852, allocations: 4 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003333/0.6855, allocations: 39.94 kB / 1.025 GB, free: 9.887 MB / 0.7794 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.0004405/0.6859, allocations: 166.6 kB / 1.025 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002428/0.6862, allocations: 91.89 kB / 1.025 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6862, allocations: 0 / 1.025 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.6863, allocations: 48.23 kB / 1.025 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.6867, allocations: 48.12 kB / 1.025 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007957/0.6875, allocations: 340.7 kB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.688, allocations: 0.7205 MB / 1.026 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.6881, allocations: 21.55 kB / 1.026 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.638e-05/0.6882, allocations: 27.42 kB / 1.026 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of SimCode: time 7.32e-07/0.6882, allocations: 3.938 kB / 1.026 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of Templates: time 0.008426/0.6966, allocations: 3.111 MB / 1.03 GB, free: 5.309 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.makefile (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) 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) Reference file matches