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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.951/1.951, allocations: 390.3 MB / 402.8 MB, free: 6.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 176.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 221.3 MB / 0.7915 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008309/0.0008309, allocations: 95.91 kB / 0.9317 GB, free: 5.668 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.627e-05/2.645e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1989, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6816/0.8805, allocations: 153.3 MB / 1.369 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.8808, allocations: 75.81 kB / 1.369 GB, free: 0.668 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01805/0.8988, allocations: 6.201 MB / 1.375 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8989, allocations: 4 kB / 1.375 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.054e-05/0.8989, allocations: 8 kB / 1.375 GB, free: 11.36 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.0006977/0.8996, allocations: 0.5021 MB / 1.375 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.8996, allocations: 8.031 kB / 1.375 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.165e-05/0.8997, allocations: 48.3 kB / 1.375 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.156e-05/0.8998, allocations: 19.81 kB / 1.375 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.9003, allocations: 250.8 kB / 1.375 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.9004, allocations: 11.62 kB / 1.376 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.047e-05/0.9004, allocations: 15.25 kB / 1.376 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.9006, allocations: 96.91 kB / 1.376 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.9006, allocations: 0 / 1.376 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.9007, allocations: 11.64 kB / 1.376 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.9007, allocations: 0 / 1.376 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.9008, allocations: 50.05 kB / 1.376 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000826/0.9016, allocations: 481.2 kB / 1.376 GB, free: 9.863 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.9018, allocations: 71.75 kB / 1.376 GB, free: 9.801 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.852e-05/0.9018, allocations: 31.55 kB / 1.376 GB, free: 9.777 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.9019, allocations: 7.984 kB / 1.376 GB, free: 9.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.902, allocations: 93.83 kB / 1.376 GB, free: 9.68 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 2.926e-06/0.902, allocations: 4 kB / 1.376 GB, free: 9.676 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0002468/0.9023, allocations: 108.9 kB / 1.376 GB, free: 9.578 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.9023, allocations: 55.41 kB / 1.376 GB, free: 9.512 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.9025, allocations: 178.6 kB / 1.377 GB, free: 9.352 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.9025, allocations: 33.86 kB / 1.377 GB, free: 9.316 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.898e-05/0.9026, allocations: 121.3 kB / 1.377 GB, free: 9.215 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.9027, allocations: 35.36 kB / 1.377 GB, free: 9.184 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.9027, allocations: 7.484 kB / 1.377 GB, free: 9.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.9028, allocations: 334 kB / 1.377 GB, free: 8.852 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.954e-05/0.9029, allocations: 31.19 kB / 1.377 GB, free: 8.828 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.9031, allocations: 121.7 kB / 1.377 GB, free: 8.699 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.388e-05/0.9032, allocations: 42.09 kB / 1.377 GB, free: 8.668 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9032, allocations: 0 / 1.377 GB, free: 8.668 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002226/0.9034, allocations: 141.2 kB / 1.377 GB, free: 8.543 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.9034, allocations: 4 kB / 1.377 GB, free: 8.539 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.9034, allocations: 4 kB / 1.377 GB, free: 8.535 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.9034, allocations: 160 / 1.377 GB, free: 8.535 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.789e-05/0.9035, allocations: 27.92 kB / 1.378 GB, free: 8.508 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.9036, allocations: 0 / 1.378 GB, free: 8.508 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.9038, allocations: 31.28 kB / 1.378 GB, free: 8.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.9038, allocations: 11.5 kB / 1.378 GB, free: 8.473 MB / 0.8386 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 () * 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.581e-05/0.9039, allocations: 112.3 kB / 1.378 GB, free: 8.359 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.9039, allocations: 15.81 kB / 1.378 GB, free: 8.344 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.9041, allocations: 131.8 kB / 1.378 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.9041, allocations: 7.984 kB / 1.378 GB, free: 8.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.9041, allocations: 0 / 1.378 GB, free: 8.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.9042, allocations: 0 / 1.378 GB, free: 8.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005237/0.9047, allocations: 456.7 kB / 1.378 GB, free: 7.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.9047, allocations: 4 kB / 1.378 GB, free: 7.773 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.826e-05/0.9047, allocations: 15.92 kB / 1.378 GB, free: 7.758 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.9048, allocations: 4 kB / 1.378 GB, free: 7.754 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.9048, allocations: 0 / 1.378 GB, free: 7.754 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/0.9048, allocations: 3.953 kB / 1.378 GB, free: 7.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.9048, allocations: 0 / 1.378 GB, free: 7.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.905, allocations: 216.5 kB / 1.378 GB, free: 7.543 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.9051, allocations: 92.86 kB / 1.379 GB, free: 7.434 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.9051, allocations: 4 kB / 1.379 GB, free: 7.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/0.9052, allocations: 15.11 kB / 1.379 GB, free: 7.418 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.9053, allocations: 23.8 kB / 1.379 GB, free: 7.398 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.9053, allocations: 11.94 kB / 1.379 GB, free: 7.387 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001074/0.9054, allocations: 131.2 kB / 1.379 GB, free: 7.273 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9054, allocations: 0 / 1.379 GB, free: 7.273 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002688/0.9057, allocations: 46.92 kB / 1.379 GB, free: 7.234 MB / 0.8386 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 () * 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.0007611/0.9064, allocations: 0.8292 MB / 1.38 GB, free: 6.426 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.9066, allocations: 86.67 kB / 1.38 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.9066, allocations: 4 kB / 1.38 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.213e-05/0.9067, allocations: 43.17 kB / 1.38 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.907, allocations: 43.7 kB / 1.38 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006382/0.9077, allocations: 267.3 kB / 1.38 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.908, allocations: 0.7244 MB / 1.381 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.845e-05/0.9081, allocations: 21.48 kB / 1.381 GB, free: 5.246 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.424e-05/0.9081, allocations: 54.78 kB / 1.381 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/0.9082, allocations: 4 kB / 1.381 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.9241, allocations: 4.575 MB / 1.385 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.9244, allocations: 205 kB / 1.385 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.703, allocations: 0 / 1.385 GB, free: 0.543 MB / 0.8386 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat does not exist to compare? outputFormat=mat