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/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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 99.55 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.001852/0.001852, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.637/2.637, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.601/4.601, allocations: 409.2 MB / 0.6838 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006119/0.0006122, allocations: 12 kB / 0.8375 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.538/1.539, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003661/1.543, allocations: 1.528 MB / 0.9823 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001866/1.545, allocations: 0.6008 MB / 0.9829 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/1.545, allocations: 7.938 kB / 0.9829 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002249/1.545, allocations: 23.84 kB / 0.983 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005159/1.546, allocations: 103.7 kB / 0.9831 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006025/1.546, allocations: 142.4 kB / 0.9832 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003706/1.547, allocations: 131.8 kB / 0.9833 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/1.547, allocations: 33.52 kB / 0.9834 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/1.547, allocations: 91.67 kB / 0.9834 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/1.549, allocations: 0.8038 MB / 0.9842 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.067e-05/1.549, allocations: 8 kB / 0.9842 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/1.55, allocations: 23.94 kB / 0.9843 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.973e-05/1.55, allocations: 31.89 kB / 0.9843 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/1.55, allocations: 49.62 kB / 0.9843 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003327/1.55, allocations: 137.9 kB / 0.9845 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/1.55, allocations: 0 / 0.9845 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.917e-06/1.55, allocations: 0 / 0.9845 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.284e-06/1.55, allocations: 4 kB / 0.9845 GB, free: 2.535 MB / 0.7325 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.001208/1.551, allocations: 0.4944 MB / 0.985 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.635e-05/1.552, allocations: 16.03 kB / 0.985 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.229e-05/1.552, allocations: 46.5 kB / 0.985 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.804e-05/1.552, allocations: 27.7 kB / 0.985 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/1.552, allocations: 231.6 kB / 0.9853 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/1.552, allocations: 16.14 kB / 0.9853 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/1.552, allocations: 12 kB / 0.9853 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/1.553, allocations: 99.14 kB / 0.9854 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/1.553, allocations: 0 / 0.9854 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/1.553, allocations: 4 kB / 0.9854 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/1.553, allocations: 4 kB / 0.9854 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/1.553, allocations: 56.53 kB / 0.9854 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/1.554, allocations: 484.2 kB / 0.9859 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/1.555, allocations: 82.48 kB / 0.986 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/1.555, allocations: 0 / 0.986 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003151/1.555, allocations: 99.34 kB / 0.9861 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 2.104e-06/1.555, allocations: 4 kB / 0.9861 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0005141/1.556, allocations: 145.4 kB / 0.9862 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/1.556, allocations: 55.41 kB / 0.9863 GB, free: 492 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/1.556, allocations: 190.9 kB / 0.9865 GB, free: 288 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.62e-05/1.556, allocations: 33.7 kB / 0.9865 GB, free: 248 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/1.556, allocations: 124.4 kB / 0.9866 GB, free: 120 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.355e-05/1.556, allocations: 31.5 kB / 0.9866 GB, free: 88 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/1.556, allocations: 8 kB / 0.9866 GB, free: 80 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002095/1.557, allocations: 330.8 kB / 0.987 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/1.557, allocations: 31.98 kB / 0.987 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/1.557, allocations: 114.1 kB / 0.9871 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/1.557, allocations: 46.67 kB / 0.9871 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.557, allocations: 0 / 0.9871 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004248/1.558, allocations: 149.4 kB / 0.9873 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/1.558, allocations: 9.266 kB / 0.9873 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/1.558, allocations: 4 kB / 0.9873 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/1.558, allocations: 3.938 kB / 0.9873 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/1.558, allocations: 24.14 kB / 0.9873 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/1.558, allocations: 3.938 kB / 0.9873 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/1.558, allocations: 23.89 kB / 0.9874 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/1.558, allocations: 8 kB / 0.9874 GB, free: 15.3 MB / 0.7481 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.0002203/1.558, allocations: 133.8 kB / 0.9875 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/1.559, allocations: 19.84 kB / 0.9875 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003694/1.559, allocations: 135.1 kB / 0.9876 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.559, allocations: 0 / 0.9876 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.559, allocations: 0 / 0.9876 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/1.559, allocations: 0 / 0.9876 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009345/1.56, allocations: 466.2 kB / 0.9881 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.56, allocations: 0 / 0.9881 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/1.56, allocations: 11.98 kB / 0.9881 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/1.56, allocations: 0 / 0.9881 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/1.56, allocations: 4 kB / 0.9881 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.467e-05/1.56, allocations: 3.984 kB / 0.9881 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.56, allocations: 0 / 0.9881 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003625/1.56, allocations: 218.3 kB / 0.9883 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/1.561, allocations: 108.8 kB / 0.9884 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/1.561, allocations: 8 kB / 0.9884 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/1.561, allocations: 19.98 kB / 0.9884 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.887e-05/1.561, allocations: 11.97 kB / 0.9885 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.011e-05/1.561, allocations: 8 kB / 0.9885 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002185/1.561, allocations: 144.3 kB / 0.9886 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.11e-07/1.561, allocations: 0 / 0.9886 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006428/1.562, allocations: 43.91 kB / 0.9886 GB, free: 13.9 MB / 0.7481 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.001276/1.563, allocations: 0.8183 MB / 0.9894 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003644/1.564, allocations: 87.91 kB / 0.9895 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.564, allocations: 0 / 0.9895 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/1.564, allocations: 43.92 kB / 0.9896 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005724/1.564, allocations: 37.73 kB / 0.9896 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/1.567, allocations: 1.35 MB / 0.9909 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/1.567, allocations: 0.7244 MB / 0.9916 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001581/1.567, allocations: 25.53 kB / 0.9916 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/1.567, allocations: 47.42 kB / 0.9917 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of SimCode: time 1.153e-06/1.567, allocations: 0 / 0.9917 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/1.595, allocations: 4.584 MB / 0.9962 GB, free: 6.234 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003064/1.595, allocations: 230.7 kB / 0.9964 GB, free: 5.992 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.104/4.699, allocations: 64 / 0.9964 GB, free: 5.992 MB / 0.7481 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) Environment - environmentSimulation: 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