Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_9_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.000992/0.000992, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.001331/0.001331, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.674/2.674, allocations: 390.4 MB / 0.6655 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003904, allocations: 12 kB / 0.8149 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8133/0.8137, allocations: 142.3 MB / 0.9538 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002429/0.8162, allocations: 1.541 MB / 0.9553 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.8175, allocations: 0.6158 MB / 0.9559 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.8177, allocations: 2.344 kB / 0.9559 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.8179, allocations: 32.22 kB / 0.956 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003835/0.8183, allocations: 92.28 kB / 0.9561 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.8187, allocations: 144.2 kB / 0.9562 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.8189, allocations: 186.8 kB / 0.9564 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.8191, allocations: 36.22 kB / 0.9564 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.8192, allocations: 93.36 kB / 0.9565 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004071/0.8233, allocations: 2.265 MB / 0.9587 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.8234, allocations: 9.094 kB / 0.9587 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.8236, allocations: 25.44 kB / 0.9587 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.632e-05/0.8237, allocations: 34.86 kB / 0.9588 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.745e-05/0.8238, allocations: 49.08 kB / 0.9588 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.824, allocations: 143.2 kB / 0.959 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.824, allocations: 1.031 kB / 0.959 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.425e-06/0.824, allocations: 4 kB / 0.959 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.824, allocations: 0 / 0.959 GB, free: 5.047 MB / 0.7169 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.0005998/0.8246, allocations: 0.502 MB / 0.9595 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.8247, allocations: 9.25 kB / 0.9595 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.8247, allocations: 37.56 kB / 0.9595 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.8248, allocations: 22.97 kB / 0.9595 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.825, allocations: 238.3 kB / 0.9598 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.8251, allocations: 10.31 kB / 0.9598 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.8251, allocations: 14.84 kB / 0.9598 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.8253, allocations: 103.2 kB / 0.9599 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.8253, allocations: 3.938 kB / 0.9599 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.8253, allocations: 1.125 kB / 0.9599 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.8253, allocations: 2.031 kB / 0.9599 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.8254, allocations: 54 kB / 0.9599 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007598/0.8262, allocations: 484.7 kB / 0.9604 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.8264, allocations: 77.39 kB / 0.9605 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/0.8264, allocations: 31.8 kB / 0.9605 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.8265, allocations: 1.25 kB / 0.9605 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.8267, allocations: 105 kB / 0.9606 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 2.244e-06/0.8267, allocations: 0 / 0.9606 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0003217/0.827, allocations: 152.7 kB / 0.9607 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.827, allocations: 53.44 kB / 0.9608 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.8272, allocations: 196.1 kB / 0.961 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.8272, allocations: 29.55 kB / 0.961 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.8273, allocations: 121.6 kB / 0.9611 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.8273, allocations: 33.56 kB / 0.9612 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.8273, allocations: 0 / 0.9612 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.475e-05/0.8274, allocations: 334.7 kB / 0.9615 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.465e-05/0.8275, allocations: 32.61 kB / 0.9615 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.8276, allocations: 129.6 kB / 0.9616 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.367e-05/0.8277, allocations: 39.81 kB / 0.9617 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8277, allocations: 0 / 0.9617 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002154/0.828, allocations: 148 kB / 0.9618 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.828, allocations: 6.25 kB / 0.9618 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.828, allocations: 1.094 kB / 0.9618 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.828, allocations: 3.312 kB / 0.9618 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.441e-05/0.8281, allocations: 24 kB / 0.9618 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.8281, allocations: 6.531 kB / 0.9619 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.8283, allocations: 28.45 kB / 0.9619 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.8283, allocations: 5.344 kB / 0.9619 GB, free: 2.453 MB / 0.7169 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 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,sca1.active,$PRE.sca1.tActivateLast,sca1.tActivateLast,sca1.sampleTrigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.643e-05/0.8284, allocations: 142.2 kB / 0.962 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.8285, allocations: 15.88 kB / 0.962 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.8286, allocations: 121.6 kB / 0.9622 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.8287, allocations: 3.375 kB / 0.9622 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.8287, allocations: 7.953 kB / 0.9622 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.8287, allocations: 7.922 kB / 0.9622 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.8291, allocations: 458.1 kB / 0.9626 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.8291, allocations: 0 / 0.9626 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/0.8292, allocations: 17.83 kB / 0.9626 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.8292, allocations: 12.95 kB / 0.9626 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-06/0.8292, allocations: 1.094 kB / 0.9626 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.8292, allocations: 5 kB / 0.9626 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8292, allocations: 0 / 0.9626 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.8294, allocations: 216.5 kB / 0.9628 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.8295, allocations: 99.19 kB / 0.9629 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.8295, allocations: 9.391 kB / 0.963 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.8296, allocations: 15.77 kB / 0.963 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.8297, allocations: 18.56 kB / 0.963 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.8297, allocations: 4.812 kB / 0.963 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001047/0.8298, allocations: 140.5 kB / 0.9631 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8298, allocations: 0 / 0.9631 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003191/0.8301, allocations: 39.97 kB / 0.9632 GB, free: 1.363 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005505/0.8307, allocations: 0.8149 MB / 0.964 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001933/0.8309, allocations: 87.81 kB / 0.964 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.8309, allocations: 0 / 0.964 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.996e-05/0.831, allocations: 50.08 kB / 0.9641 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.8314, allocations: 52.62 kB / 0.9641 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.8327, allocations: 0.8877 MB / 0.965 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.833, allocations: 0.7244 MB / 0.9657 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.183e-05/0.8331, allocations: 23.34 kB / 0.9657 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.406e-05/0.8332, allocations: 46.27 kB / 0.9658 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.8332, allocations: 0 / 0.9658 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.8489, allocations: 4.643 MB / 0.9703 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/0.8492, allocations: 220.5 kB / 0.9705 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/2.785, allocations: 0 / 0.9705 GB, free: 12.62 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter_res.mat does not exist to compare? outputFormat=mat