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.0009964/0.001002, allocations: 100.2 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.0009344/0.0009345, allocations: 177.3 kB / 15.95 MB, free: 216 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.403/1.403, allocations: 223.2 MB / 239.9 MB, free: 5.375 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.45/2.45, allocations: 390.3 MB / 0.6653 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003488, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8023/0.8027, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1639/0.9667, allocations: 143 MB / 1.093 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005378/0.9721, allocations: 5.035 MB / 1.098 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002834/0.9724, allocations: 7.938 kB / 1.098 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004124/0.9728, allocations: 87.52 kB / 1.098 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003616/0.9732, allocations: 139.6 kB / 1.098 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.9737, allocations: 195.5 kB / 1.099 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005084/0.9742, allocations: 315.2 kB / 1.099 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.9745, allocations: 98.39 kB / 1.099 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.9748, allocations: 151.4 kB / 1.099 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.975, allocations: 111.5 kB / 1.099 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.975, allocations: 7.938 kB / 1.099 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002563/0.9752, allocations: 95.8 kB / 1.099 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.93e-05/0.9753, allocations: 47.89 kB / 1.099 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.9754, allocations: 61.58 kB / 1.099 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.9757, allocations: 215.3 kB / 1.1 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.9757, allocations: 0 / 1.1 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9757, allocations: 0 / 1.1 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.9757, allocations: 0 / 1.1 GB, free: 10.29 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0004777/0.9762, allocations: 471 kB / 1.1 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.9762, allocations: 8.031 kB / 1.1 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.229e-05/0.9763, allocations: 62.48 kB / 1.1 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002603/0.9766, allocations: 47.7 kB / 1.1 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.9769, allocations: 251.6 kB / 1.1 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.977, allocations: 127.4 kB / 1.101 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.977, allocations: 20 kB / 1.101 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/0.9775, allocations: 290.8 kB / 1.101 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.9775, allocations: 3.938 kB / 1.101 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.9775, allocations: 12 kB / 1.101 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.9775, allocations: 8 kB / 1.101 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.9778, allocations: 156.6 kB / 1.101 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.9791, allocations: 1.579 MB / 1.103 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.258e-05/0.9792, allocations: 169.1 kB / 1.103 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.9792, allocations: 83.22 kB / 1.103 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.9793, allocations: 113.8 kB / 1.103 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.9793, allocations: 0 / 1.103 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.219e-05/0.9794, allocations: 45.52 kB / 1.103 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.9794, allocations: 126.7 kB / 1.103 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.9798, allocations: 306.6 kB / 1.103 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.9798, allocations: 33.64 kB / 1.103 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.9799, allocations: 195.1 kB / 1.104 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.222e-06/0.9799, allocations: 7.984 kB / 1.104 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.98, allocations: 4 kB / 1.104 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.9801, allocations: 326.8 kB / 1.104 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.25e-05/0.9802, allocations: 35.97 kB / 1.104 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.9803, allocations: 167.3 kB / 1.104 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.9804, allocations: 59.92 kB / 1.104 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.9804, allocations: 4 kB / 1.104 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003989/0.9809, allocations: 213.1 kB / 1.104 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.9809, allocations: 8 kB / 1.104 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.9809, allocations: 4 kB / 1.104 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.9809, allocations: 8 kB / 1.104 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.9811, allocations: 39.92 kB / 1.104 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.9811, allocations: 11.94 kB / 1.104 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.9813, allocations: 24.16 kB / 1.104 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.9813, allocations: 23.98 kB / 1.104 GB, free: 4.93 MB / 0.8575 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.0001329/0.9815, allocations: 217 kB / 1.105 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.13e-05/0.9815, allocations: 132.6 kB / 1.105 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.037e-05/0.9816, allocations: 113.9 kB / 1.105 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-05/0.9817, allocations: 184.2 kB / 1.105 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.259e-05/0.9817, allocations: 184.2 kB / 1.105 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.634e-05/0.9818, allocations: 188.3 kB / 1.105 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.9821, allocations: 485 kB / 1.106 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.773e-05/0.9822, allocations: 101 kB / 1.106 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.602e-05/0.9822, allocations: 105 kB / 1.106 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.36e-05/0.9823, allocations: 184.2 kB / 1.106 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.079e-05/0.9824, allocations: 184.3 kB / 1.106 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.523e-05/0.9825, allocations: 184.2 kB / 1.107 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.599e-05/0.9825, allocations: 180.3 kB / 1.107 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.9827, allocations: 319.6 kB / 1.107 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.9828, allocations: 209.8 kB / 1.107 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.153e-05/0.9829, allocations: 184.2 kB / 1.107 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.983, allocations: 101 kB / 1.108 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.9831, allocations: 180.2 kB / 1.108 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/0.9831, allocations: 101 kB / 1.108 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002309/0.9833, allocations: 229.9 kB / 1.108 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9834, allocations: 0 / 1.108 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000365/0.9837, allocations: 51.91 kB / 1.108 GB, free: 0.9766 MB / 0.8575 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.000445/0.9842, allocations: 0.8397 MB / 1.109 GB, free: 108 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.9844, allocations: 88.27 kB / 1.109 GB, free: 20 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.9844, allocations: 4 kB / 1.109 GB, free: 16 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.9844, allocations: 368 / 1.109 GB, free: 16 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.9849, allocations: 0.5432 MB / 1.11 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.9873, allocations: 4.092 MB / 1.114 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.9876, allocations: 0.7476 MB / 1.114 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000149/0.9878, allocations: 33.94 kB / 1.114 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.459e-05/0.9879, allocations: 51.42 kB / 1.114 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of SimCode: time 7.92e-07/0.9879, allocations: 4 kB / 1.114 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01342/1.001, allocations: 3.576 MB / 1.118 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/1.002, allocations: 182.6 kB / 1.118 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.75, allocations: 1.75 kB / 1.118 GB, free: 6.699 MB / 0.8731 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