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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001895/0.001895, allocations: 193.3 kB / 16.14 MB, free: 6.652 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.308/1.308, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.423/2.423, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 55.91 kB / 0.8686 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5399/0.5413, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003237/0.5446, allocations: 1.945 MB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.5458, allocations: 0.6435 MB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.5459, allocations: 0 / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.5461, allocations: 19.86 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.5464, allocations: 95.66 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.5468, allocations: 143.8 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.5471, allocations: 215.3 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.5472, allocations: 41.39 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.5474, allocations: 95.67 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009402/0.5568, allocations: 0.7366 MB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.008e-05/0.5568, allocations: 8 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.557, allocations: 31.98 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.557, allocations: 39.78 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.5571, allocations: 83.56 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.5574, allocations: 195.3 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5574, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.82e-07/0.5574, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.5574, allocations: 4 kB / 1.021 GB, free: 14.62 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.0007457/0.5582, allocations: 0.5374 MB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.5582, allocations: 8.031 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.447e-05/0.5583, allocations: 46.67 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.5583, allocations: 20.75 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.5586, allocations: 240.4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.5586, allocations: 12 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.5587, allocations: 16 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.5589, allocations: 102.5 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.5589, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.5589, allocations: 4 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.5589, allocations: 7.938 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.559, allocations: 50.97 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007922/0.5598, allocations: 472.3 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.56, allocations: 70.56 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.929e-05/0.5601, allocations: 32.84 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.5601, allocations: 0 / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.5602, allocations: 107.2 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 2.695e-06/0.5603, allocations: 3.984 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0003062/0.5606, allocations: 157.5 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.5606, allocations: 51.41 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.5608, allocations: 195.1 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.5608, allocations: 33.69 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.069e-05/0.5609, allocations: 124.4 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.561, allocations: 31.56 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.744e-05/0.5611, allocations: 57.67 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.5612, allocations: 327 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.251e-05/0.5612, allocations: 27.98 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.5615, allocations: 136.4 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.5616, allocations: 97.08 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5616, allocations: 4 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002353/0.5619, allocations: 153.3 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.5619, allocations: 5.562 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5619, allocations: 7.922 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.5619, allocations: 4 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.667e-05/0.562, allocations: 15.94 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.562, allocations: 4 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.5622, allocations: 23.83 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.5622, allocations: 8.156 kB / 1.024 GB, free: 11.19 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.000114/0.5624, allocations: 142.3 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.5624, allocations: 15.81 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.5626, allocations: 124.5 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.5626, allocations: 0 / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5626, allocations: 4 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5626, allocations: 3.984 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/0.5632, allocations: 470.2 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5632, allocations: 0 / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.5632, allocations: 4 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5632, allocations: 0 / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.5632, allocations: 4 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5632, allocations: 0 / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5633, allocations: 3.938 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.5635, allocations: 228.4 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/0.5635, allocations: 96.91 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.5636, allocations: 4 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.5637, allocations: 7.984 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.5638, allocations: 11.98 kB / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.5638, allocations: 15.92 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001065/0.5639, allocations: 135.2 kB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5639, allocations: 0 / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003271/0.5642, allocations: 43.92 kB / 1.025 GB, free: 9.801 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.0006371/0.5649, allocations: 0.8206 MB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001879/0.5651, allocations: 95.89 kB / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5651, allocations: 0 / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.458e-05/0.5652, allocations: 44.92 kB / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.5656, allocations: 40.28 kB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.5675, allocations: 1.889 MB / 1.028 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.5678, allocations: 0.7205 MB / 1.029 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.82e-05/0.5679, allocations: 21.55 kB / 1.029 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.233e-05/0.568, allocations: 55.41 kB / 1.029 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.568, allocations: 3.938 kB / 1.029 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.036/5.604, allocations: 4.769 MB / 1.033 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/5.605, allocations: 242.2 kB / 1.034 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.36/8.964, allocations: 0 / 1.034 GB, free: 1.07 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Examples_Scatter.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches