Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.SteamDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_latest_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.001248/0.001253, allocations: 98.77 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.001431/0.001431, 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 2.288/2.288, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.705/2.705, allocations: 409.2 MB / 0.6838 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003773, allocations: 8 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7727/0.7731, allocations: 146.8 MB / 0.9809 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001304/0.7744, allocations: 0.9606 MB / 0.9818 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1423/0.9168, allocations: 116.4 MB / 1.095 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.9169, allocations: 0 / 1.095 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/0.9169, allocations: 7.984 kB / 1.095 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.72e-05/0.917, allocations: 3.984 kB / 1.095 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.9187, allocations: 366.9 kB / 1.096 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.326e-05/0.9188, allocations: 23.97 kB / 1.096 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.467e-05/0.9189, allocations: 7.984 kB / 1.096 GB, free: 212 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.133e-05/0.919, allocations: 27.91 kB / 1.096 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.9191, allocations: 15.98 kB / 1.096 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.9191, allocations: 0 / 1.096 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002626/0.9217, allocations: 0.7843 MB / 1.097 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.9218, allocations: 3.984 kB / 1.097 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.549e-05/0.9219, allocations: 37.64 kB / 1.097 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000612/0.9225, allocations: 285.5 kB / 1.097 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.9225, allocations: 0 / 1.097 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.265e-06/0.9225, allocations: 0 / 1.097 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.9225, allocations: 0 / 1.097 GB, free: 15.06 MB / 0.8575 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.0006906/0.9232, allocations: 363.3 kB / 1.097 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/0.9233, allocations: 8.031 kB / 1.097 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.494e-05/0.9234, allocations: 34.56 kB / 1.097 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/0.9237, allocations: 15.98 kB / 1.097 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.9239, allocations: 159.1 kB / 1.097 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.924, allocations: 4 kB / 1.097 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.924, allocations: 3.906 kB / 1.098 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.9242, allocations: 69.48 kB / 1.098 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.9242, allocations: 4 kB / 1.098 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.9243, allocations: 4 kB / 1.098 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.9243, allocations: 0 / 1.098 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.9244, allocations: 19.98 kB / 1.098 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002544/0.9247, allocations: 161.7 kB / 1.098 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.9248, allocations: 54.62 kB / 1.098 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01681/0.9417, allocations: 3.205 MB / 1.101 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.228e-05/0.9418, allocations: 34.5 kB / 1.101 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.905e-06/0.9418, allocations: 3.938 kB / 1.101 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.04811/0.9899, allocations: 14.25 MB / 1.115 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.99, allocations: 51.41 kB / 1.115 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.731e-05/0.9901, allocations: 93.86 kB / 1.115 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.9901, allocations: 29.7 kB / 1.115 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.9902, allocations: 80.14 kB / 1.115 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.183e-05/0.9902, allocations: 39.45 kB / 1.115 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.9902, allocations: 4.125 kB / 1.115 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.9904, allocations: 318.8 kB / 1.115 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.425e-05/0.9905, allocations: 19.98 kB / 1.115 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-05/0.9905, allocations: 27.92 kB / 1.116 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.423e-05/0.9906, allocations: 28 kB / 1.116 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.9906, allocations: 0 / 1.116 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002226/0.9908, allocations: 116.5 kB / 1.116 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.9909, allocations: 4 kB / 1.116 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.9909, allocations: 0 / 1.116 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.9909, allocations: 4 kB / 1.116 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.991, allocations: 31.98 kB / 1.116 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.991, allocations: 4.234 kB / 1.116 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.627e-05/0.9911, allocations: 0 / 1.116 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.9911, allocations: 7.984 kB / 1.116 GB, free: 11.38 MB / 0.8731 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 0.0001153/0.9912, allocations: 117.8 kB / 1.116 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.9913, allocations: 7.953 kB / 1.116 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.9915, allocations: 125.4 kB / 1.116 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.9916, allocations: 0 / 1.116 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.9916, allocations: 0 / 1.116 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.9916, allocations: 0 / 1.116 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.9917, allocations: 181.6 kB / 1.116 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.9918, allocations: 0 / 1.116 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.9919, allocations: 31.92 kB / 1.116 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.9919, allocations: 3.953 kB / 1.116 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.9919, allocations: 8 kB / 1.116 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.9919, allocations: 0 / 1.116 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.9919, allocations: 3.984 kB / 1.116 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.9922, allocations: 141.1 kB / 1.116 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.9924, allocations: 89.05 kB / 1.116 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.9924, allocations: 7.953 kB / 1.116 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.9925, allocations: 15.98 kB / 1.116 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.9926, allocations: 7.984 kB / 1.116 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.9926, allocations: 8 kB / 1.116 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.953e-05/0.9926, allocations: 79.28 kB / 1.116 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9926, allocations: 3.938 kB / 1.116 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001878/0.9945, allocations: 0.5624 MB / 1.117 GB, free: 9.906 MB / 0.8731 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.003075/0.9976, allocations: 0.9368 MB / 1.118 GB, free: 8.938 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001695/0.9978, allocations: 75.89 kB / 1.118 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9978, allocations: 0 / 1.118 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.848e-05/0.9979, allocations: 31.98 kB / 1.118 GB, free: 8.832 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.998, allocations: 7.953 kB / 1.118 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.9996, allocations: 0.762 MB / 1.119 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.9999, allocations: 0.6926 MB / 1.119 GB, free: 7.297 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001075/1, allocations: 28.52 kB / 1.12 GB, free: 7.27 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/1, allocations: 19.44 kB / 1.12 GB, free: 7.25 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/1, allocations: 0 / 1.12 GB, free: 7.25 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04871/1.049, allocations: 26.62 MB / 1.146 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000291/1.049, allocations: 174.8 kB / 1.146 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.808/3.857, allocations: 0 / 1.146 GB, free: 12.48 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat does not exist to compare? outputFormat=mat