Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",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.001396/0.001396, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001741/0.001742, allocations: 168.7 kB / 15.95 MB, free: 204 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.417/1.417, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.535/2.535, allocations: 409.4 MB / 0.684 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003887, allocations: 11.94 kB / 0.8378 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7233/0.7237, allocations: 146.8 MB / 0.9811 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001661/0.7254, allocations: 1.095 MB / 0.9822 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003799/0.7292, allocations: 2.736 MB / 0.9849 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.792e-05/0.7293, allocations: 0 / 0.9849 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.528e-05/0.7294, allocations: 3.984 kB / 0.9849 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.7295, allocations: 39.81 kB / 0.9849 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005648/0.7301, allocations: 155.3 kB / 0.9851 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.7304, allocations: 271.4 kB / 0.9853 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.519e-05/0.7305, allocations: 7.984 kB / 0.9853 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.7306, allocations: 87.84 kB / 0.9854 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.7308, allocations: 139.7 kB / 0.9855 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.7309, allocations: 12 kB / 0.9856 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004746/0.7313, allocations: 155.8 kB / 0.9857 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.7315, allocations: 87.81 kB / 0.9858 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.07e-05/0.7315, allocations: 57.64 kB / 0.9858 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.7318, allocations: 189.8 kB / 0.986 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.7318, allocations: 4 kB / 0.986 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7318, allocations: 0 / 0.986 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.7319, allocations: 0 / 0.986 GB, free: 1.23 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008334/0.7327, allocations: 0.526 MB / 0.9865 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.7327, allocations: 8.031 kB / 0.9865 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.586e-05/0.7328, allocations: 54.55 kB / 0.9866 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.7329, allocations: 15.81 kB / 0.9866 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.7332, allocations: 238.8 kB / 0.9868 GB, free: 304 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.289e-05/0.7333, allocations: 23.98 kB / 0.9869 GB, free: 280 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.7333, allocations: 19.95 kB / 0.9869 GB, free: 260 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006559/0.734, allocations: 320.9 kB / 0.9872 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.734, allocations: 0 / 0.9872 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.734, allocations: 8 kB / 0.9872 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.734, allocations: 4 kB / 0.9872 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.7354, allocations: 0.8038 MB / 0.988 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.7358, allocations: 309 kB / 0.9883 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.7375, allocations: 0.7769 MB / 0.989 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005327/0.7381, allocations: 256.7 kB / 0.9893 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004441/0.7385, allocations: 392.3 kB / 0.9897 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.7386, allocations: 38.56 kB / 0.9897 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=37): time 1.823e-06/0.7386, allocations: 4 kB / 0.9897 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37): time 0.001629/0.7402, allocations: 0.7365 MB / 0.9904 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.7403, allocations: 55.41 kB / 0.9905 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.7404, allocations: 126.1 kB / 0.9906 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.7404, allocations: 29.7 kB / 0.9906 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.7405, allocations: 92.78 kB / 0.9907 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.7406, allocations: 126 kB / 0.9908 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/0.7406, allocations: 12 kB / 0.9908 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.7407, allocations: 326.8 kB / 0.9912 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004762/0.7412, allocations: 223.8 kB / 0.9914 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004715/0.7417, allocations: 231.6 kB / 0.9916 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/0.7421, allocations: 207.8 kB / 0.9918 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7422, allocations: 0 / 0.9918 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001076/0.7432, allocations: 0.5054 MB / 0.9923 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.7433, allocations: 8.891 kB / 0.9923 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.7433, allocations: 0 / 0.9923 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.7433, allocations: 7.938 kB / 0.9923 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.7437, allocations: 103.9 kB / 0.9924 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.7437, allocations: 4 kB / 0.9924 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.7439, allocations: 59.73 kB / 0.9925 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.7439, allocations: 15.98 kB / 0.9925 GB, free: 10.32 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001182/0.7441, allocations: 137.8 kB / 0.9926 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.7441, allocations: 15.81 kB / 0.9926 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.7453, allocations: 0.587 MB / 0.9932 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.7453, allocations: 4 kB / 0.9932 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.7453, allocations: 7.984 kB / 0.9932 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.7454, allocations: 0 / 0.9932 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.7457, allocations: 313.3 kB / 0.9935 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.7457, allocations: 0 / 0.9935 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/0.7461, allocations: 111.8 kB / 0.9936 GB, free: 9.098 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.7461, allocations: 4 kB / 0.9936 GB, free: 9.094 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.7461, allocations: 4 kB / 0.9936 GB, free: 9.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.7461, allocations: 7.953 kB / 0.9936 GB, free: 9.082 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.7461, allocations: 3.984 kB / 0.9936 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.7472, allocations: 0.5433 MB / 0.9942 GB, free: 8.516 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-05/0.7473, allocations: 100.8 kB / 0.9943 GB, free: 8.398 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.7473, allocations: 8 kB / 0.9943 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.7475, allocations: 51.97 kB / 0.9943 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/0.7477, allocations: 119.7 kB / 0.9944 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/0.7478, allocations: 15.98 kB / 0.9944 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.146e-05/0.7478, allocations: 95.27 kB / 0.9945 GB, free: 8.113 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.553e-06/0.7478, allocations: 4 kB / 0.9945 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003873/0.7482, allocations: 123.9 kB / 0.9947 GB, free: 7.988 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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 Backend phase and start with SimCode phase: time 0.001606/0.7498, allocations: 1.17 MB / 0.9958 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001083/0.7509, allocations: 0.5189 MB / 0.9963 GB, free: 6.27 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.751, allocations: 0 / 0.9963 GB, free: 6.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005397/0.7515, allocations: 292 kB / 0.9966 GB, free: 5.984 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.7519, allocations: 75.88 kB / 0.9967 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.7547, allocations: 1.601 MB / 0.9982 GB, free: 4.262 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.755, allocations: 0.7292 MB / 0.9989 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004446/0.7555, allocations: 191 kB / 0.9991 GB, free: 3.32 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.7556, allocations: 59.41 kB / 0.9992 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.7556, allocations: 0 / 0.9992 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.775, allocations: 6.646 MB / 1.006 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/0.7752, allocations: 195 kB / 1.006 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.7, allocations: 1.969 kB / 1.006 GB, free: 12.59 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat does not exist to compare? outputFormat=mat