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.0008945/0.0008947, allocations: 92.31 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.0009081/0.0009081, 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.441/1.441, allocations: 223.3 MB / 240 MB, free: 5.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.646/2.646, allocations: 409.4 MB / 0.684 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004044, allocations: 8 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8238/0.8242, allocations: 146.8 MB / 0.9811 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002282/0.8265, allocations: 1.547 MB / 0.9826 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.8276, allocations: 0.6009 MB / 0.9832 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.869e-05/0.8277, allocations: 7.938 kB / 0.9832 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.8279, allocations: 27.78 kB / 0.9833 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.8281, allocations: 103.6 kB / 0.9834 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.8285, allocations: 131.8 kB / 0.9835 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.8287, allocations: 187.5 kB / 0.9837 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.8288, allocations: 45.44 kB / 0.9837 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.829, allocations: 95.67 kB / 0.9838 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003519/0.8325, allocations: 2.257 MB / 0.986 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.488e-05/0.8326, allocations: 8 kB / 0.986 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.457e-05/0.8327, allocations: 27.94 kB / 0.986 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.693e-05/0.8327, allocations: 35.83 kB / 0.9861 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.962e-05/0.8328, allocations: 49.64 kB / 0.9861 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.833, allocations: 143.6 kB / 0.9862 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.833, allocations: 4 kB / 0.9863 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.743e-06/0.833, allocations: 0 / 0.9863 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.8331, allocations: 0 / 0.9863 GB, free: 0.9531 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.0007967/0.8339, allocations: 0.4983 MB / 0.9867 GB, free: 404 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.8339, allocations: 8.031 kB / 0.9867 GB, free: 396 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.045e-05/0.834, allocations: 38.56 kB / 0.9868 GB, free: 348 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.097e-05/0.834, allocations: 27.64 kB / 0.9868 GB, free: 320 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.8343, allocations: 239.5 kB / 0.987 GB, free: 36 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.8343, allocations: 24.08 kB / 0.9871 GB, free: 12 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.8344, allocations: 12 kB / 0.9871 GB, free: 0 / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.8346, allocations: 95.14 kB / 0.9872 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.8346, allocations: 4 kB / 0.9872 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.8346, allocations: 0 / 0.9872 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.8346, allocations: 0 / 0.9872 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.8348, allocations: 56.53 kB / 0.9872 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008438/0.8356, allocations: 484.3 kB / 0.9877 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.8358, allocations: 78.48 kB / 0.9878 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.187e-05/0.8358, allocations: 28.86 kB / 0.9878 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.8359, allocations: 3.984 kB / 0.9878 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.8361, allocations: 97.73 kB / 0.9879 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/0.8361, allocations: 0 / 0.9879 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14): time 0.0003211/0.8364, allocations: 149.4 kB / 0.988 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.8365, allocations: 63.34 kB / 0.9881 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.8367, allocations: 194.9 kB / 0.9883 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.8367, allocations: 29.7 kB / 0.9883 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.8368, allocations: 116.5 kB / 0.9884 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.8369, allocations: 35.55 kB / 0.9884 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.8369, allocations: 4 kB / 0.9884 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.837, allocations: 330.8 kB / 0.9888 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.022e-05/0.837, allocations: 27.98 kB / 0.9888 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.8373, allocations: 125.6 kB / 0.9889 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.827e-05/0.8374, allocations: 39.95 kB / 0.9889 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8374, allocations: 8 kB / 0.989 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002285/0.8376, allocations: 152.3 kB / 0.9891 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.8376, allocations: 13.39 kB / 0.9891 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.8376, allocations: 0 / 0.9891 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.8377, allocations: 4.219 kB / 0.9891 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.755e-05/0.8378, allocations: 12 kB / 0.9891 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.8378, allocations: 7.875 kB / 0.9891 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.838, allocations: 35.98 kB / 0.9892 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.838, allocations: 4 kB / 0.9892 GB, free: 13.69 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.0001249/0.8381, allocations: 129.8 kB / 0.9893 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.8382, allocations: 19.77 kB / 0.9893 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.8384, allocations: 127.1 kB / 0.9894 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.8384, allocations: 0 / 0.9894 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.8384, allocations: 11.92 kB / 0.9894 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.8384, allocations: 0 / 0.9894 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005193/0.8389, allocations: 470.2 kB / 0.9899 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.8389, allocations: 3.984 kB / 0.9899 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.839, allocations: 12 kB / 0.9899 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.839, allocations: 0 / 0.9899 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.839, allocations: 0 / 0.9899 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.839, allocations: 4 kB / 0.9899 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.839, allocations: 0 / 0.9899 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.8392, allocations: 226 kB / 0.9901 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/0.8393, allocations: 100.9 kB / 0.9902 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.8394, allocations: 4 kB / 0.9902 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.8395, allocations: 11.98 kB / 0.9902 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/0.8396, allocations: 15.97 kB / 0.9903 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.8396, allocations: 12 kB / 0.9903 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001357/0.8397, allocations: 136.3 kB / 0.9904 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8397, allocations: 4 kB / 0.9904 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000336/0.8401, allocations: 43.91 kB / 0.9904 GB, free: 12.29 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.0008723/0.841, allocations: 0.8088 MB / 0.9912 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002439/0.8412, allocations: 95.84 kB / 0.9913 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.8412, allocations: 0 / 0.9913 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.868e-05/0.8413, allocations: 49.55 kB / 0.9914 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.8417, allocations: 46.47 kB / 0.9914 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.8432, allocations: 0.8826 MB / 0.9923 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.8436, allocations: 0.7205 MB / 0.993 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.769e-05/0.8437, allocations: 29.52 kB / 0.993 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.299e-05/0.8438, allocations: 51.41 kB / 0.9931 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/0.8438, allocations: 0 / 0.9931 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.8621, allocations: 4.643 MB / 0.9976 GB, free: 5.023 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/0.8623, allocations: 231.3 kB / 0.9978 GB, free: 4.781 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/2.904, allocations: 3.938 kB / 0.9978 GB, free: 4.777 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