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.001195/0.001196, 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.001535/0.001535, 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.386/1.386, allocations: 223.2 MB / 239.9 MB, free: 5.316 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.422/2.422, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003518, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7476/0.748, allocations: 142.3 MB / 0.9536 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001436/0.7495, allocations: 0.9729 MB / 0.9545 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1514/0.9009, allocations: 116.4 MB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.672e-05/0.901, allocations: 4 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.9011, allocations: 0 / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.739e-05/0.9012, allocations: 3.984 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.9025, allocations: 354.9 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.539e-05/0.9026, allocations: 27.91 kB / 1.069 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.01e-05/0.9026, allocations: 3.984 kB / 1.069 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.65e-05/0.9027, allocations: 27.98 kB / 1.069 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.962e-05/0.9028, allocations: 23.89 kB / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.9028, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.9043, allocations: 0.7843 MB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.9043, allocations: 11.97 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.958e-05/0.9044, allocations: 33.7 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003926/0.9048, allocations: 281.7 kB / 1.07 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.9048, allocations: 3.938 kB / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9048, allocations: 0 / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.9048, allocations: 0 / 1.07 GB, free: 8.941 MB / 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.0005392/0.9053, allocations: 363.2 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.9054, allocations: 12.03 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.103e-05/0.9055, allocations: 38.52 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.9057, allocations: 12 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.9058, allocations: 163.1 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.9058, allocations: 4 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.9059, allocations: 4 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.906, allocations: 53.67 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.906, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.9061, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.9061, allocations: 3.953 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.026e-05/0.9061, allocations: 23.92 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.9063, allocations: 173.6 kB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.9065, allocations: 54.53 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01132/0.9178, allocations: 3.202 MB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.9179, allocations: 34.56 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.9179, allocations: 0 / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.038/0.9559, allocations: 14.25 MB / 1.088 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.9559, allocations: 55.41 kB / 1.088 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.706e-05/0.956, allocations: 93.86 kB / 1.088 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.956, allocations: 29.7 kB / 1.088 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.9561, allocations: 80.14 kB / 1.088 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.9561, allocations: 39.45 kB / 1.088 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.9561, allocations: 4 kB / 1.088 GB, free: 5.82 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.9562, allocations: 314.8 kB / 1.088 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.791e-05/0.9563, allocations: 19.98 kB / 1.088 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.292e-05/0.9563, allocations: 32.11 kB / 1.088 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.95e-05/0.9564, allocations: 31.94 kB / 1.088 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.9564, allocations: 0 / 1.088 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001955/0.9566, allocations: 101.6 kB / 1.088 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.9566, allocations: 4 kB / 1.088 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.9567, allocations: 3.938 kB / 1.088 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.9567, allocations: 7.953 kB / 1.088 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.9568, allocations: 20 kB / 1.088 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.9568, allocations: 4 kB / 1.088 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.629e-05/0.9568, allocations: 3.984 kB / 1.088 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.9568, allocations: 8 kB / 1.088 GB, free: 5.266 MB / 0.8419 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 8.149e-05/0.9569, allocations: 114.9 kB / 1.089 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.957, allocations: 7.906 kB / 1.089 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/0.9572, allocations: 117.5 kB / 1.089 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.9572, allocations: 7.953 kB / 1.089 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.9573, allocations: 0 / 1.089 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.9573, allocations: 0 / 1.089 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.9574, allocations: 177.6 kB / 1.089 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9574, allocations: 0 / 1.089 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.9576, allocations: 27.98 kB / 1.089 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.9576, allocations: 4 kB / 1.089 GB, free: 4.758 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.9576, allocations: 0 / 1.089 GB, free: 4.758 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.9576, allocations: 3.938 kB / 1.089 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.9576, allocations: 7.891 kB / 1.089 GB, free: 4.746 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.9579, allocations: 157.2 kB / 1.089 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.9579, allocations: 92.98 kB / 1.089 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.9579, allocations: 4 kB / 1.089 GB, free: 4.461 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.9581, allocations: 19.98 kB / 1.089 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.9581, allocations: 7.984 kB / 1.089 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.9581, allocations: 7.953 kB / 1.089 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 2.879e-05/0.9582, allocations: 83.28 kB / 1.089 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9582, allocations: 0 / 1.089 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00172/0.9599, allocations: 0.5702 MB / 1.09 GB, free: 3.773 MB / 0.8419 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.004303/0.9642, allocations: 0.9307 MB / 1.091 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.9645, allocations: 71.84 kB / 1.091 GB, free: 2.746 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.9645, allocations: 4 kB / 1.091 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.322e-05/0.9645, allocations: 35.98 kB / 1.091 GB, free: 2.707 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.9647, allocations: 0 / 1.091 GB, free: 2.707 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.9665, allocations: 0.7591 MB / 1.092 GB, free: 1.902 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.9669, allocations: 0.6965 MB / 1.092 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001109/0.967, allocations: 28.53 kB / 1.092 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.967, allocations: 19.44 kB / 1.092 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of SimCode: time 5.31e-07/0.967, allocations: 0 / 1.092 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04789/1.015, allocations: 26.62 MB / 1.118 GB, free: 6.594 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002956/1.015, allocations: 169.9 kB / 1.118 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.596/3.611, allocations: 0 / 1.118 GB, free: 6.355 MB / 0.8731 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