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.001032/0.001032, 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.001232/0.001232, 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.378/1.378, allocations: 223.3 MB / 240 MB, free: 5.438 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.526/2.526, allocations: 390.4 MB / 0.6655 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003608, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7207/0.7211, allocations: 142.3 MB / 0.9538 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3178/1.039, allocations: 227.4 MB / 1.176 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03776/1.077, allocations: 20.71 MB / 1.196 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002206/1.079, allocations: 47.69 kB / 1.196 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003172/1.082, allocations: 0.6401 MB / 1.197 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003527/1.086, allocations: 1.154 MB / 1.198 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004062/1.09, allocations: 1.348 MB / 1.199 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004011/1.094, allocations: 2.985 MB / 1.202 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/1.096, allocations: 0.8992 MB / 1.203 GB, free: 344 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/1.098, allocations: 1.054 MB / 1.204 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/1.1, allocations: 0.813 MB / 1.205 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001911/1.1, allocations: 36 kB / 1.205 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002558/1.103, allocations: 0.904 MB / 1.206 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003919/1.103, allocations: 279 kB / 1.206 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003978/1.103, allocations: 261.1 kB / 1.206 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001902/1.105, allocations: 1.57 MB / 1.208 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/1.105, allocations: 4 kB / 1.208 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.867e-06/1.105, allocations: 3.938 kB / 1.208 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.904e-05/1.105, allocations: 3.938 kB / 1.208 GB, free: 11.4 MB / 0.9669 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.001876/1.107, allocations: 1.238 MB / 1.209 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/1.107, allocations: 8.031 kB / 1.209 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002064/1.108, allocations: 147.5 kB / 1.209 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/1.109, allocations: 222.4 kB / 1.209 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/1.11, allocations: 0.8264 MB / 1.21 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/1.11, allocations: 184.8 kB / 1.21 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/1.11, allocations: 92 kB / 1.21 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/1.112, allocations: 0.9207 MB / 1.211 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/1.112, allocations: 8 kB / 1.211 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.73e-05/1.112, allocations: 36 kB / 1.211 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/1.112, allocations: 23.94 kB / 1.211 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/1.113, allocations: 0.6246 MB / 1.212 GB, free: 6.922 MB / 0.9669 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.004594/1.118, allocations: 4.447 MB / 1.216 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/1.118, allocations: 190.7 kB / 1.217 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/1.118, allocations: 140.9 kB / 1.217 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009215/1.119, allocations: 1.021 MB / 1.218 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/1.119, allocations: 30.56 kB / 1.218 GB, free: 472 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=24): time 2.003e-06/1.119, allocations: 0 / 1.218 GB, free: 472 kB / 0.9669 GB Notification: Performance of matching and sorting (n=24): time 0.001057/1.12, allocations: 478.3 kB / 1.218 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/1.12, allocations: 51.41 kB / 1.218 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/1.122, allocations: 1.098 MB / 1.219 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/1.122, allocations: 33.7 kB / 1.219 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004509/1.122, allocations: 0.5118 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.309e-05/1.122, allocations: 82.84 kB / 1.22 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/1.122, allocations: 8 kB / 1.22 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.122, allocations: 318 kB / 1.22 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/1.123, allocations: 128.8 kB / 1.22 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004169/1.123, allocations: 383.7 kB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/1.123, allocations: 191.8 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/1.123, allocations: 0 / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009029/1.124, allocations: 0.5349 MB / 1.221 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/1.124, allocations: 8.688 kB / 1.221 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/1.124, allocations: 8 kB / 1.221 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/1.124, allocations: 12 kB / 1.221 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/1.125, allocations: 87.83 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/1.125, allocations: 15.94 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007316/1.125, allocations: 128.4 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.623e-05/1.126, allocations: 27.98 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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.0003515/1.126, allocations: 293.6 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/1.126, allocations: 102.7 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006601/1.127, allocations: 420.4 kB / 1.222 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/1.127, allocations: 7.938 kB / 1.222 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.127, allocations: 0 / 1.222 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.127, allocations: 7.984 kB / 1.222 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/1.129, allocations: 1.543 MB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/1.129, allocations: 7.953 kB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/1.129, allocations: 43.95 kB / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/1.129, allocations: 4 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/1.129, allocations: 15.94 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/1.129, allocations: 11.98 kB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/1.129, allocations: 7.938 kB / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005547/1.13, allocations: 0.5573 MB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/1.13, allocations: 239.7 kB / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/1.13, allocations: 15.98 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/1.131, allocations: 35.83 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/1.131, allocations: 36.14 kB / 1.225 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/1.131, allocations: 16.06 kB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009718/1.132, allocations: 0.7625 MB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/1.132, allocations: 0 / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008625/1.133, allocations: 287.4 kB / 1.226 GB, free: 7.621 MB / 0.9825 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.001343/1.134, allocations: 1.325 MB / 1.227 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005934/1.134, allocations: 328.6 kB / 1.228 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.134, allocations: 0 / 1.228 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002079/1.135, allocations: 147.9 kB / 1.228 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/1.137, allocations: 488.8 kB / 1.228 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/1.147, allocations: 5.51 MB / 1.234 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008927/1.148, allocations: 1.067 MB / 1.235 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001041/1.149, allocations: 195.4 kB / 1.235 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005347/1.15, allocations: 363.3 kB / 1.235 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of SimCode: time 2.074e-06/1.15, allocations: 3.938 kB / 1.235 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6019/1.752, allocations: 26.49 MB / 1.261 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/1.752, allocations: 249.6 kB / 1.261 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.411/4.163, allocations: 1.281 kB / 1.261 GB, free: 278.8 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