Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.AirToOutletFlowReversal,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",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.001176/0.001176, allocations: 99.08 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.001364/0.001364, allocations: 177.3 kB / 15.94 MB, free: 220 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.339/1.339, allocations: 223.2 MB / 239.9 MB, free: 5.465 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.562/2.562, allocations: 390.3 MB / 0.6653 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004031, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7287/0.7291, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2292/0.9583, allocations: 205.6 MB / 1.154 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02415/0.9825, allocations: 18.87 MB / 1.173 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002032/0.9846, allocations: 43.69 kB / 1.173 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.9873, allocations: 0.5947 MB / 1.173 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006693/0.994, allocations: 1.495 MB / 1.175 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005367/0.9994, allocations: 1.473 MB / 1.176 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00446/1.004, allocations: 1.768 MB / 1.178 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001776/1.006, allocations: 0.9266 MB / 1.179 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/1.008, allocations: 0.9188 MB / 1.18 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/1.009, allocations: 0.5796 MB / 1.18 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/1.009, allocations: 32 kB / 1.18 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/1.012, allocations: 0.815 MB / 1.181 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003332/1.012, allocations: 267.1 kB / 1.182 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000422/1.012, allocations: 265 kB / 1.182 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002029/1.014, allocations: 1.488 MB / 1.183 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/1.014, allocations: 0 / 1.183 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.144e-06/1.014, allocations: 0 / 1.183 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.762e-05/1.015, allocations: 0 / 1.183 GB, free: 4.465 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001781/1.016, allocations: 1.223 MB / 1.184 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.016, allocations: 12.02 kB / 1.184 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001614/1.017, allocations: 139.5 kB / 1.185 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/1.018, allocations: 230.4 kB / 1.185 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/1.019, allocations: 0.8225 MB / 1.186 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/1.019, allocations: 188.8 kB / 1.186 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/1.019, allocations: 91.98 kB / 1.186 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/1.021, allocations: 0.9207 MB / 1.187 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/1.021, allocations: 4 kB / 1.187 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.351e-05/1.021, allocations: 36 kB / 1.187 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/1.021, allocations: 20 kB / 1.187 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/1.022, allocations: 0.6284 MB / 1.187 GB, free: 4 kB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004774/1.027, allocations: 4.435 MB / 1.192 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/1.027, allocations: 182.7 kB / 1.192 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005981/1.028, allocations: 0.6649 MB / 1.193 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/1.028, allocations: 38.56 kB / 1.193 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=24): time 2.594e-06/1.028, allocations: 0 / 1.193 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24): time 0.001034/1.029, allocations: 458.8 kB / 1.193 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/1.029, allocations: 55.41 kB / 1.193 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/1.03, allocations: 1.094 MB / 1.194 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.264e-05/1.03, allocations: 29.7 kB / 1.194 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004016/1.031, allocations: 0.5118 MB / 1.195 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.996e-05/1.031, allocations: 86.78 kB / 1.195 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/1.031, allocations: 12 kB / 1.195 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.031, allocations: 322 kB / 1.195 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/1.031, allocations: 124.8 kB / 1.195 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/1.031, allocations: 399.5 kB / 1.196 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/1.032, allocations: 183.8 kB / 1.196 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/1.032, allocations: 7.953 kB / 1.196 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008666/1.033, allocations: 0.5318 MB / 1.196 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.033, allocations: 9.875 kB / 1.196 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.033, allocations: 16.08 kB / 1.196 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/1.033, allocations: 19.92 kB / 1.196 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/1.033, allocations: 87.84 kB / 1.196 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/1.033, allocations: 19.92 kB / 1.196 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008128/1.034, allocations: 119 kB / 1.197 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.147e-05/1.034, allocations: 35.97 kB / 1.197 GB, free: 5.867 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (48): * Single equations (assignments): 48 * 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.0004289/1.034, allocations: 289.5 kB / 1.197 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/1.035, allocations: 106.6 kB / 1.197 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006737/1.035, allocations: 412.1 kB / 1.197 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/1.035, allocations: 4 kB / 1.197 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.035, allocations: 4 kB / 1.197 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/1.035, allocations: 0 / 1.197 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/1.037, allocations: 1.52 MB / 1.199 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/1.038, allocations: 12.09 kB / 1.199 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/1.038, allocations: 43.88 kB / 1.199 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/1.038, allocations: 4 kB / 1.199 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/1.038, allocations: 12 kB / 1.199 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/1.038, allocations: 4 kB / 1.199 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/1.038, allocations: 11.94 kB / 1.199 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007421/1.039, allocations: 0.7866 MB / 1.2 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000372/1.039, allocations: 239.7 kB / 1.2 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/1.039, allocations: 8.062 kB / 1.2 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004698/1.039, allocations: 43.81 kB / 1.2 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/1.04, allocations: 27.88 kB / 1.2 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/1.04, allocations: 12 kB / 1.2 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001038/1.041, allocations: 0.7742 MB / 1.201 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/1.041, allocations: 0 / 1.201 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001014/1.042, allocations: 279.5 kB / 1.201 GB, free: 0.9883 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002267/1.044, allocations: 2.751 MB / 1.204 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006641/1.045, allocations: 329.2 kB / 1.204 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.045, allocations: 3.938 kB / 1.204 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/1.045, allocations: 136.6 kB / 1.204 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/1.047, allocations: 476.1 kB / 1.205 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/1.058, allocations: 10.12 MB / 1.215 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006837/1.059, allocations: 1.086 MB / 1.216 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008693/1.06, allocations: 192.3 kB / 1.216 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004504/1.06, allocations: 359.3 kB / 1.216 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of SimCode: time 6.61e-07/1.06, allocations: 0 / 1.216 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.046/1.106, allocations: 26.24 MB / 1.242 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/1.107, allocations: 238.5 kB / 1.242 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/3.351, allocations: 3.938 kB / 1.242 GB, free: 6.906 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat does not exist to compare? outputFormat=mat