Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",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.001109/0.001109, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001414/0.001414, allocations: 172.7 kB / 15.95 MB, free: 208 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.409/1.409, allocations: 223.2 MB / 240 MB, free: 5.32 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.41/2.41, allocations: 390.4 MB / 0.6655 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005779/0.0005781, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7608/0.7614, allocations: 142.3 MB / 0.9538 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1916/0.9531, allocations: 154.8 MB / 1.105 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006544/0.9596, allocations: 5.552 MB / 1.11 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000347/0.96, allocations: 7.938 kB / 1.11 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000625/0.9607, allocations: 135.1 kB / 1.111 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0003772/0.9611, allocations: 75.56 kB / 1.111 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.9622, allocations: 350.6 kB / 1.111 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0005727/0.9628, allocations: 418.6 kB / 1.111 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002772/0.9631, allocations: 90.41 kB / 1.111 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003886/0.9635, allocations: 159.4 kB / 1.112 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00035/0.9638, allocations: 123.4 kB / 1.112 GB, free: 14 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.9639, allocations: 8 kB / 1.112 GB, free: 14 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006292/0.9645, allocations: 223.4 kB / 1.112 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 9.036e-05/0.9646, allocations: 55.8 kB / 1.112 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 8.394e-05/0.9647, allocations: 61.64 kB / 1.112 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.9651, allocations: 275.3 kB / 1.112 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.9651, allocations: 0 / 1.112 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.166e-06/0.9651, allocations: 0 / 1.112 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.9651, allocations: 3.938 kB / 1.112 GB, free: 13.38 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005664/0.9657, allocations: 490.9 kB / 1.113 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.9658, allocations: 8.031 kB / 1.113 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.687e-05/0.9658, allocations: 58.55 kB / 1.113 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002945/0.9661, allocations: 47.7 kB / 1.113 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.9664, allocations: 255.9 kB / 1.113 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.9666, allocations: 127.4 kB / 1.113 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.9666, allocations: 24 kB / 1.113 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004731/0.9671, allocations: 290.8 kB / 1.114 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.9671, allocations: 3.938 kB / 1.114 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.9672, allocations: 12 kB / 1.114 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.9672, allocations: 7.938 kB / 1.114 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.9675, allocations: 156.6 kB / 1.114 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.9689, allocations: 1.583 MB / 1.115 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.532e-05/0.969, allocations: 169.1 kB / 1.115 GB, free: 9.926 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.969, allocations: 80.14 kB / 1.116 GB, free: 9.844 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.969, allocations: 87.23 kB / 1.116 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.25e-05/0.9691, allocations: 113.8 kB / 1.116 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.9691, allocations: 0 / 1.116 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 8.569e-05/0.9692, allocations: 41.52 kB / 1.116 GB, free: 9.59 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.9693, allocations: 126.7 kB / 1.116 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.9696, allocations: 310.5 kB / 1.116 GB, free: 9.141 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.9697, allocations: 33.69 kB / 1.116 GB, free: 9.102 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.9698, allocations: 195.1 kB / 1.116 GB, free: 8.906 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-06/0.9698, allocations: 0 / 1.116 GB, free: 8.906 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/0.9698, allocations: 4 kB / 1.116 GB, free: 8.902 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.97, allocations: 326.8 kB / 1.117 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.147e-05/0.9701, allocations: 35.97 kB / 1.117 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.9703, allocations: 163.2 kB / 1.117 GB, free: 8.32 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.9704, allocations: 63.92 kB / 1.117 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.9704, allocations: 0 / 1.117 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004106/0.9708, allocations: 217.4 kB / 1.117 GB, free: 8.039 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.9708, allocations: 8 kB / 1.117 GB, free: 8.031 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.9708, allocations: 4 kB / 1.117 GB, free: 8.027 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.9709, allocations: 7.938 kB / 1.117 GB, free: 8.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.9711, allocations: 43.92 kB / 1.117 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.9711, allocations: 7.938 kB / 1.117 GB, free: 7.969 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.9712, allocations: 31.67 kB / 1.117 GB, free: 7.938 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.9713, allocations: 16 kB / 1.117 GB, free: 7.922 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001958/0.9715, allocations: 225.1 kB / 1.118 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.333e-05/0.9716, allocations: 128.7 kB / 1.118 GB, free: 7.559 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.74e-05/0.9717, allocations: 121.8 kB / 1.118 GB, free: 7.434 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.399e-05/0.9718, allocations: 184.2 kB / 1.118 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.088e-05/0.9718, allocations: 176.3 kB / 1.118 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.111e-05/0.9719, allocations: 188.2 kB / 1.118 GB, free: 6.875 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.9724, allocations: 489 kB / 1.119 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-05/0.9725, allocations: 101 kB / 1.119 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.024e-05/0.9725, allocations: 104.9 kB / 1.119 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/0.9726, allocations: 180.2 kB / 1.119 GB, free: 5.941 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.441e-05/0.9727, allocations: 184.4 kB / 1.119 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.669e-05/0.9729, allocations: 184.3 kB / 1.119 GB, free: 5.566 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.304e-05/0.9729, allocations: 180.3 kB / 1.12 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.9732, allocations: 327.5 kB / 1.12 GB, free: 5.039 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.9734, allocations: 205.8 kB / 1.12 GB, free: 4.812 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.9735, allocations: 180.3 kB / 1.12 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.9737, allocations: 105 kB / 1.12 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.9738, allocations: 184.2 kB / 1.121 GB, free: 4.332 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-05/0.9739, allocations: 105 kB / 1.121 GB, free: 4.223 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003036/0.9742, allocations: 217.9 kB / 1.121 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9742, allocations: 0 / 1.121 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004786/0.9747, allocations: 47.91 kB / 1.121 GB, free: 3.969 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0006603/0.9753, allocations: 0.8592 MB / 1.122 GB, free: 3.078 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002109/0.9756, allocations: 79.78 kB / 1.122 GB, free: 3 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.9756, allocations: 0 / 1.122 GB, free: 3 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.9756, allocations: 1.25 kB / 1.122 GB, free: 3 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006925/0.9763, allocations: 0.5425 MB / 1.122 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.9785, allocations: 1.255 MB / 1.124 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.9789, allocations: 0.7398 MB / 1.124 GB, free: 328 kB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001642/0.9791, allocations: 37.92 kB / 1.124 GB, free: 292 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.9792, allocations: 51.42 kB / 1.124 GB, free: 240 kB / 0.8731 GB Notification: Performance of SimCode: time 6.01e-07/0.9792, allocations: 0 / 1.124 GB, free: 240 kB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.9941, allocations: 3.831 MB / 1.128 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/0.9943, allocations: 191 kB / 1.128 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.888, allocations: 0 / 1.128 GB, free: 12.3 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat does not exist to compare? outputFormat=mat