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.001137/0.001136, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001178/0.001178, allocations: 177.3 kB / 15.95 MB, free: 216 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.42/1.42, allocations: 223.2 MB / 239.9 MB, free: 5.453 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.518/2.518, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003147, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7426/0.743, allocations: 142.3 MB / 0.9536 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.001822/0.7448, allocations: 1.529 MB / 0.9551 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009334/0.7458, allocations: 0.6101 MB / 0.9557 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.116e-05/0.7459, allocations: 2.469 kB / 0.9557 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.746, allocations: 23.14 kB / 0.9557 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.7463, allocations: 109.4 kB / 0.9558 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.7466, allocations: 138.9 kB / 0.9559 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.7468, allocations: 133.3 kB / 0.9561 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.7469, allocations: 28.23 kB / 0.9561 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.747, allocations: 87.81 kB / 0.9562 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.7481, allocations: 0.7989 MB / 0.9569 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.7482, allocations: 11.59 kB / 0.957 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.73e-05/0.7483, allocations: 22.23 kB / 0.957 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.283e-05/0.7483, allocations: 27.61 kB / 0.957 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.039e-05/0.7484, allocations: 53.27 kB / 0.9571 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.7485, allocations: 137.5 kB / 0.9572 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.7485, allocations: 1.344 kB / 0.9572 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7485, allocations: 0 / 0.9572 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.7486, allocations: 0 / 0.9572 GB, free: 5.516 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.0005346/0.7491, allocations: 0.5017 MB / 0.9577 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.7491, allocations: 13.22 kB / 0.9577 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/0.7492, allocations: 45.39 kB / 0.9577 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.7492, allocations: 18.81 kB / 0.9578 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.7495, allocations: 234.6 kB / 0.958 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.7495, allocations: 14.92 kB / 0.958 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.7495, allocations: 14.38 kB / 0.958 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.7497, allocations: 101.7 kB / 0.9581 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.7497, allocations: 0 / 0.9581 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.7497, allocations: 5.531 kB / 0.9581 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.7497, allocations: 9.375 kB / 0.9581 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.877e-05/0.7499, allocations: 54.22 kB / 0.9582 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007047/0.7506, allocations: 488.4 kB / 0.9586 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.7507, allocations: 74.31 kB / 0.9587 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.7507, allocations: 5.359 kB / 0.9587 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.7509, allocations: 101.3 kB / 0.9588 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.7509, allocations: 5.375 kB / 0.9588 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0002696/0.7512, allocations: 138.2 kB / 0.9589 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.7512, allocations: 52.78 kB / 0.959 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.7514, allocations: 187.9 kB / 0.9592 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.7514, allocations: 32.45 kB / 0.9592 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.588e-05/0.7515, allocations: 125.9 kB / 0.9593 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.7515, allocations: 33.05 kB / 0.9594 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.7515, allocations: 5.375 kB / 0.9594 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.145e-05/0.7516, allocations: 330.9 kB / 0.9597 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.273e-05/0.7516, allocations: 32.42 kB / 0.9597 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.7518, allocations: 126.6 kB / 0.9598 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.917e-05/0.7519, allocations: 40.09 kB / 0.9599 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.7519, allocations: 0 / 0.9599 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002127/0.7522, allocations: 147.7 kB / 0.96 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.7522, allocations: 6.562 kB / 0.96 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.7522, allocations: 1.062 kB / 0.96 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.7522, allocations: 10.67 kB / 0.96 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.449e-05/0.7523, allocations: 17.03 kB / 0.96 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.7523, allocations: 6.609 kB / 0.96 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.7525, allocations: 24.7 kB / 0.9601 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.7525, allocations: 5.281 kB / 0.9601 GB, free: 2.945 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 0.0001137/0.7527, allocations: 145.7 kB / 0.9602 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.7527, allocations: 15.59 kB / 0.9602 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.7529, allocations: 131.5 kB / 0.9604 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.7529, allocations: 2.469 kB / 0.9604 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.753, allocations: 0 / 0.9604 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.753, allocations: 11.88 kB / 0.9604 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005212/0.7535, allocations: 451.9 kB / 0.9608 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7535, allocations: 0 / 0.9608 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.7536, allocations: 13.33 kB / 0.9608 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.7536, allocations: 0.9688 kB / 0.9608 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.7536, allocations: 5.953 kB / 0.9608 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.7536, allocations: 0 / 0.9608 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.7536, allocations: 1 kB / 0.9608 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.7538, allocations: 220.6 kB / 0.961 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.996e-05/0.7539, allocations: 107.7 kB / 0.9611 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.7539, allocations: 4.984 kB / 0.9611 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.754, allocations: 24.03 kB / 0.9612 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.7541, allocations: 19.25 kB / 0.9612 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.7542, allocations: 5.75 kB / 0.9612 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001202/0.7543, allocations: 139.8 kB / 0.9613 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7543, allocations: 0 / 0.9613 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003235/0.7546, allocations: 36.97 kB / 0.9614 GB, free: 1.855 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.0006923/0.7553, allocations: 0.8222 MB / 0.9622 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.7556, allocations: 87.22 kB / 0.9622 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.7556, allocations: 0 / 0.9622 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.213e-05/0.7557, allocations: 43.58 kB / 0.9623 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.756, allocations: 49.19 kB / 0.9623 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.7572, allocations: 1.343 MB / 0.9636 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.7577, allocations: 0.721 MB / 0.9643 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.225e-05/0.7578, allocations: 30.98 kB / 0.9644 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.7579, allocations: 55.34 kB / 0.9644 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.7579, allocations: 0 / 0.9644 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.7758, allocations: 4.581 MB / 0.9689 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.776, allocations: 216.7 kB / 0.9691 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/2.649, allocations: 0 / 0.9691 GB, free: 12.51 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