Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_9_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.001394/0.001394, allocations: 99.86 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.001757/0.001757, 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 1.438/1.438, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.439/2.439, allocations: 390.3 MB / 0.6653 GB, free: 3.047 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003634, allocations: 12 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8551/0.8555, allocations: 142.3 MB / 0.9536 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001217/0.8568, allocations: 0.9761 MB / 0.9545 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003041/0.8599, allocations: 2.555 MB / 0.957 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.505e-05/0.8599, allocations: 0 / 0.957 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.8599, allocations: 3.984 kB / 0.957 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.531e-05/0.86, allocations: 5.047 kB / 0.957 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.8603, allocations: 86.31 kB / 0.9571 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.899e-05/0.8604, allocations: 21.62 kB / 0.9571 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.7e-05/0.8605, allocations: 2.344 kB / 0.9571 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004148/0.8609, allocations: 148.2 kB / 0.9573 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.271e-05/0.8609, allocations: 22.34 kB / 0.9573 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.8609, allocations: 2.125 kB / 0.9573 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.8611, allocations: 46.14 kB / 0.9573 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.8611, allocations: 10.33 kB / 0.9573 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.8611, allocations: 30.14 kB / 0.9574 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.8612, allocations: 29.34 kB / 0.9574 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.8612, allocations: 0 / 0.9574 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8613, allocations: 1.125 kB / 0.9574 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.8613, allocations: 0 / 0.9574 GB, free: 5.051 MB / 0.7169 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.0002759/0.8615, allocations: 347.2 kB / 0.9577 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.8616, allocations: 9.312 kB / 0.9577 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.091e-05/0.8616, allocations: 35.86 kB / 0.9578 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.8617, allocations: 2.875 kB / 0.9578 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.095e-05/0.8617, allocations: 159.1 kB / 0.9579 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.8617, allocations: 10.8 kB / 0.9579 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.8618, allocations: 6.75 kB / 0.958 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.8619, allocations: 53.02 kB / 0.958 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.8619, allocations: 1 kB / 0.958 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.8619, allocations: 7.953 kB / 0.958 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.8619, allocations: 1.344 kB / 0.958 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.877e-05/0.862, allocations: 14.11 kB / 0.958 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001242/0.8621, allocations: 173.1 kB / 0.9582 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.761e-05/0.8622, allocations: 57.28 kB / 0.9582 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005371/0.8627, allocations: 0.5962 MB / 0.9588 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.8628, allocations: 38.12 kB / 0.9589 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.8628, allocations: 0 / 0.9589 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0005176/0.8633, allocations: 293 kB / 0.9591 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.8633, allocations: 52.38 kB / 0.9592 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.779e-05/0.8634, allocations: 105.2 kB / 0.9593 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.8634, allocations: 26.86 kB / 0.9593 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.466e-05/0.8634, allocations: 81.3 kB / 0.9594 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.8635, allocations: 31.05 kB / 0.9594 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.8635, allocations: 4 kB / 0.9594 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.126e-05/0.8635, allocations: 313.1 kB / 0.9597 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.514e-05/0.8635, allocations: 18.92 kB / 0.9597 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.529e-05/0.8636, allocations: 56.33 kB / 0.9598 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.872e-05/0.8636, allocations: 15.91 kB / 0.9598 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8636, allocations: 3.953 kB / 0.9598 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001191/0.8638, allocations: 94.89 kB / 0.9599 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.8638, allocations: 9.812 kB / 0.9599 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.8638, allocations: 0 / 0.9599 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.8638, allocations: 4.031 kB / 0.9599 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.917e-05/0.8639, allocations: 23.36 kB / 0.9599 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.8639, allocations: 2.906 kB / 0.9599 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.643e-05/0.864, allocations: 1.281 kB / 0.96 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.864, allocations: 3.938 kB / 0.96 GB, free: 2.332 MB / 0.7169 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 5.742e-05/0.864, allocations: 117 kB / 0.9601 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.8641, allocations: 10.73 kB / 0.9601 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.8641, allocations: 11.97 kB / 0.9601 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.8641, allocations: 1.75 kB / 0.9601 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.8641, allocations: 3.984 kB / 0.9601 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.8641, allocations: 3.984 kB / 0.9601 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.8643, allocations: 178.8 kB / 0.9603 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8643, allocations: 3.938 kB / 0.9603 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.276e-05/0.8644, allocations: 16.8 kB / 0.9603 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8644, allocations: 1.406 kB / 0.9603 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.8644, allocations: 0 / 0.9603 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.8644, allocations: 1.562 kB / 0.9603 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.8644, allocations: 4 kB / 0.9603 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.8646, allocations: 168.8 kB / 0.9605 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.8646, allocations: 90.39 kB / 0.9605 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.8646, allocations: 10.05 kB / 0.9606 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.853e-05/0.8647, allocations: 1.5 kB / 0.9606 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.8648, allocations: 6.594 kB / 0.9606 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.8648, allocations: 10.2 kB / 0.9606 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.664e-05/0.8648, allocations: 85.72 kB / 0.9606 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8648, allocations: 0 / 0.9606 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002282/0.865, allocations: 10.22 kB / 0.9607 GB, free: 1.602 MB / 0.7169 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.0002685/0.8653, allocations: 0.7047 MB / 0.9613 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.266e-05/0.8654, allocations: 47.34 kB / 0.9614 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.8654, allocations: 3.938 kB / 0.9614 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.168e-05/0.8654, allocations: 9.719 kB / 0.9614 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.8656, allocations: 18.09 kB / 0.9614 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009893/0.8666, allocations: 1.419 MB / 0.9628 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.8669, allocations: 0.6917 MB / 0.9635 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.928e-05/0.867, allocations: 14.59 kB / 0.9635 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.867, allocations: 15.62 kB / 0.9635 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.867, allocations: 0 / 0.9635 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01055/0.8776, allocations: 1.409 MB / 0.9649 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000277/0.8779, allocations: 189.7 kB / 0.9651 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.566, allocations: 2.406 kB / 0.9651 GB, free: 13.89 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat does not exist to compare? outputFormat=mat