Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.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.SteamDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamDerivativeCheck",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.001242/0.001243, allocations: 87.11 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.001216/0.001216, 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.488/1.488, allocations: 223.3 MB / 240 MB, free: 5.457 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.547/2.547, allocations: 390.4 MB / 0.6655 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003548, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8394/0.8398, allocations: 142.3 MB / 0.9538 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001287/0.8411, allocations: 0.9817 MB / 0.9548 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1539/0.995, allocations: 124.9 MB / 1.077 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.001e-05/0.9951, allocations: 0 / 1.077 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.695e-05/0.9951, allocations: 0 / 1.077 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.832e-05/0.9952, allocations: 11.91 kB / 1.077 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.9963, allocations: 350.8 kB / 1.077 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.793e-05/0.9963, allocations: 43.84 kB / 1.077 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.9964, allocations: 0 / 1.077 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.085e-05/0.9964, allocations: 15.98 kB / 1.077 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.912e-05/0.9965, allocations: 23.91 kB / 1.077 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.9965, allocations: 0 / 1.077 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.9979, allocations: 0.7763 MB / 1.078 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.9979, allocations: 7.984 kB / 1.078 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.9979, allocations: 29.7 kB / 1.078 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.9983, allocations: 289.7 kB / 1.078 GB, free: 356 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.9983, allocations: 0 / 1.078 GB, free: 356 kB / 0.8262 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9983, allocations: 0 / 1.078 GB, free: 356 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.9983, allocations: 0 / 1.078 GB, free: 356 kB / 0.8262 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.0005741/0.9989, allocations: 367.2 kB / 1.079 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.999, allocations: 11.97 kB / 1.079 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.921e-05/0.999, allocations: 34.52 kB / 1.079 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.9993, allocations: 11.98 kB / 1.079 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.9994, allocations: 171 kB / 1.079 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.9995, allocations: 4 kB / 1.079 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.9995, allocations: 4 kB / 1.079 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.9997, allocations: 53.67 kB / 1.079 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.9997, allocations: 0 / 1.079 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.9997, allocations: 4 kB / 1.079 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.9997, allocations: 3.953 kB / 1.079 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.519e-05/0.9998, allocations: 19.98 kB / 1.079 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/1, allocations: 169.6 kB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/1, allocations: 50.5 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.708e-05/1, allocations: 21.08 kB / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00918/1.009, allocations: 3.205 MB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/1.009, allocations: 34.56 kB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 2.545e-06/1.009, allocations: 0 / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.03157/1.041, allocations: 14.25 MB / 1.096 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/1.041, allocations: 55.41 kB / 1.096 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.637e-05/1.041, allocations: 93.84 kB / 1.096 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/1.041, allocations: 29.7 kB / 1.096 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/1.041, allocations: 80.14 kB / 1.097 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/1.041, allocations: 39.45 kB / 1.097 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/1.041, allocations: 8.125 kB / 1.097 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.041, allocations: 310.8 kB / 1.097 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.874e-05/1.042, allocations: 27.92 kB / 1.097 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.427e-05/1.042, allocations: 27.98 kB / 1.097 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.964e-05/1.042, allocations: 20 kB / 1.097 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/1.042, allocations: 0 / 1.097 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002006/1.042, allocations: 101.7 kB / 1.097 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.042, allocations: 8 kB / 1.097 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.042, allocations: 7.938 kB / 1.097 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/1.042, allocations: 4 kB / 1.097 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/1.042, allocations: 23.94 kB / 1.097 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/1.042, allocations: 0 / 1.097 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.688e-05/1.042, allocations: 8 kB / 1.097 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/1.042, allocations: 7.984 kB / 1.097 GB, free: 12.64 MB / 0.8575 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 (14): * Single equations (assignments): 14 * 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 9.214e-05/1.042, allocations: 113.8 kB / 1.097 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/1.042, allocations: 7.906 kB / 1.097 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/1.042, allocations: 133.3 kB / 1.097 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/1.043, allocations: 3.953 kB / 1.097 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.043, allocations: 4 kB / 1.097 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.043, allocations: 0 / 1.097 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/1.043, allocations: 177.6 kB / 1.097 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.043, allocations: 0 / 1.097 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/1.043, allocations: 23.98 kB / 1.098 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/1.043, allocations: 0 / 1.098 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/1.043, allocations: 8 kB / 1.098 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.043, allocations: 0 / 1.098 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.043, allocations: 7.953 kB / 1.098 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/1.043, allocations: 156 kB / 1.098 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/1.043, allocations: 89.05 kB / 1.098 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/1.043, allocations: 4 kB / 1.098 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/1.043, allocations: 19.98 kB / 1.098 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/1.043, allocations: 11.94 kB / 1.098 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/1.043, allocations: 8 kB / 1.098 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.846e-05/1.043, allocations: 75.28 kB / 1.098 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.043, allocations: 0 / 1.098 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001827/1.045, allocations: 0.5663 MB / 1.098 GB, free: 11.16 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,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 (11): * Single equations (assignments): 11 * 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.003095/1.048, allocations: 0.9445 MB / 1.099 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001847/1.049, allocations: 59.97 kB / 1.099 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/1.049, allocations: 0 / 1.099 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.965e-05/1.049, allocations: 35.92 kB / 1.099 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/1.049, allocations: 8 kB / 1.099 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/1.05, allocations: 0.7698 MB / 1.1 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/1.051, allocations: 0.6887 MB / 1.101 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.528e-05/1.051, allocations: 20.55 kB / 1.101 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/1.051, allocations: 23.48 kB / 1.101 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of SimCode: time 5.51e-07/1.051, allocations: 0 / 1.101 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04819/1.099, allocations: 26.64 MB / 1.127 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/1.099, allocations: 174.9 kB / 1.127 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/3.634, allocations: 0 / 1.127 GB, free: 13.72 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 Buildings_9_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck_res.mat does not exist to compare? outputFormat=mat