Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.001245/0.001245, allocations: 99.78 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.0009857/0.0009857, 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.922/1.922, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.018/3.018, allocations: 409.2 MB / 0.6838 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003542, allocations: 8 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8358/0.8362, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00142/0.8377, allocations: 0.9723 MB / 0.9818 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003391/0.8411, allocations: 2.553 MB / 0.9843 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.077e-05/0.8411, allocations: 0 / 0.9843 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.8412, allocations: 3.984 kB / 0.9843 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.649e-05/0.8412, allocations: 3.984 kB / 0.9843 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.8416, allocations: 79.72 kB / 0.9844 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.012e-05/0.8417, allocations: 23.97 kB / 0.9844 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.8418, allocations: 11.94 kB / 0.9844 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004614/0.8422, allocations: 151.6 kB / 0.9846 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.725e-05/0.8423, allocations: 11.98 kB / 0.9846 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.167e-06/0.8423, allocations: 4 kB / 0.9846 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.8424, allocations: 51.91 kB / 0.9846 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.8425, allocations: 0 / 0.9846 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.8425, allocations: 29.7 kB / 0.9847 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.8426, allocations: 34.2 kB / 0.9847 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.8426, allocations: 0 / 0.9847 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.535e-06/0.8426, allocations: 4 kB / 0.9847 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.8427, allocations: 0 / 0.9847 GB, free: 2.34 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003927/0.8431, allocations: 339.3 kB / 0.985 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 9.132e-05/0.8431, allocations: 8.031 kB / 0.985 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.8432, allocations: 42.48 kB / 0.9851 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.8432, allocations: 0 / 0.9851 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.8433, allocations: 163.1 kB / 0.9852 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.8434, allocations: 4 kB / 0.9852 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.8434, allocations: 11.95 kB / 0.9852 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.8436, allocations: 57.66 kB / 0.9853 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.8436, allocations: 3.938 kB / 0.9853 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.8436, allocations: 0 / 0.9853 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.8436, allocations: 0 / 0.9853 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.738e-05/0.8437, allocations: 23.92 kB / 0.9853 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/0.8439, allocations: 165.6 kB / 0.9855 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.389e-05/0.844, allocations: 54.55 kB / 0.9855 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006927/0.8447, allocations: 0.5988 MB / 0.9861 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.8447, allocations: 30.56 kB / 0.9861 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.8447, allocations: 0 / 0.9861 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0005842/0.8453, allocations: 302.1 kB / 0.9864 GB, free: 236 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.8453, allocations: 59.41 kB / 0.9865 GB, free: 164 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.136e-05/0.8454, allocations: 97.86 kB / 0.9866 GB, free: 56 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.8454, allocations: 25.7 kB / 0.9866 GB, free: 24 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.8455, allocations: 88.05 kB / 0.9867 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.8455, allocations: 27.64 kB / 0.9867 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.8455, allocations: 0 / 0.9867 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.8457, allocations: 314.8 kB / 0.987 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.678e-05/0.8457, allocations: 15.98 kB / 0.987 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-05/0.8458, allocations: 57.14 kB / 0.9871 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.256e-05/0.8458, allocations: 20.17 kB / 0.9871 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.8458, allocations: 3.938 kB / 0.9871 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001356/0.846, allocations: 101.5 kB / 0.9872 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.846, allocations: 11.94 kB / 0.9872 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.846, allocations: 0 / 0.9872 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.8461, allocations: 3.938 kB / 0.9872 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.811e-05/0.8461, allocations: 23.98 kB / 0.9872 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.8462, allocations: 0 / 0.9872 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.843e-05/0.8462, allocations: 4 kB / 0.9872 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.8462, allocations: 8 kB / 0.9872 GB, free: 15.32 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001092/0.8463, allocations: 117.9 kB / 0.9874 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.8464, allocations: 8 kB / 0.9874 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.8464, allocations: 7.969 kB / 0.9874 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.8464, allocations: 4 kB / 0.9874 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8464, allocations: 0 / 0.9874 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.8464, allocations: 3.984 kB / 0.9874 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.8467, allocations: 177.7 kB / 0.9876 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8467, allocations: 0 / 0.9876 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.253e-05/0.8468, allocations: 12 kB / 0.9876 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.8468, allocations: 0 / 0.9876 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.8468, allocations: 0 / 0.9876 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.8468, allocations: 8 kB / 0.9876 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8468, allocations: 0 / 0.9876 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.847, allocations: 175.8 kB / 0.9877 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-05/0.8471, allocations: 89.14 kB / 0.9878 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.8471, allocations: 0 / 0.9878 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.8472, allocations: 4 kB / 0.9878 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.8473, allocations: 4 kB / 0.9878 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.8473, allocations: 8 kB / 0.9878 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.703e-05/0.8473, allocations: 83.27 kB / 0.9879 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8473, allocations: 0 / 0.9879 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002327/0.8476, allocations: 12 kB / 0.9879 GB, free: 14.53 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0004207/0.848, allocations: 0.7123 MB / 0.9886 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.8481, allocations: 43.97 kB / 0.9887 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8481, allocations: 0 / 0.9887 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.205e-05/0.8481, allocations: 12 kB / 0.9887 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.8484, allocations: 16.14 kB / 0.9887 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.8497, allocations: 1.424 MB / 0.9901 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.85, allocations: 0.6887 MB / 0.9908 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.714e-05/0.85, allocations: 4 kB / 0.9908 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.8501, allocations: 19.48 kB / 0.9908 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.8501, allocations: 4 kB / 0.9908 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01213/0.8622, allocations: 1.402 MB / 0.9922 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/0.8625, allocations: 191 kB / 0.9923 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/2.553, allocations: 0 / 0.9923 GB, free: 9.996 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat does not exist to compare? outputFormat=mat