Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.InletToAirMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.001395/0.001395, allocations: 99.7 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.00162/0.00162, 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 2.756/2.756, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.777/4.777, allocations: 409.2 MB / 0.6838 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005771/0.0005774, allocations: 8 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585/1.585, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.3045/1.89, allocations: 145.3 MB / 1.123 GB, free: 4.621 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01309/1.903, allocations: 7.448 MB / 1.13 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005106/1.904, allocations: 7.938 kB / 1.13 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005275/1.904, allocations: 59.66 kB / 1.13 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0005334/1.905, allocations: 111.6 kB / 1.13 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/1.905, allocations: 47.95 kB / 1.13 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0009539/1.906, allocations: 303.2 kB / 1.131 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004626/1.906, allocations: 104.4 kB / 1.131 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006018/1.907, allocations: 115.5 kB / 1.131 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/1.907, allocations: 63.61 kB / 1.131 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/1.907, allocations: 4 kB / 1.131 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.1e-05/1.907, allocations: 4 kB / 1.131 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/1.907, allocations: 15.92 kB / 1.131 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/1.908, allocations: 61.58 kB / 1.131 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003447/1.908, allocations: 147.6 kB / 1.131 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.908, allocations: 4 kB / 1.131 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.569e-06/1.908, allocations: 0 / 1.131 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.168e-06/1.908, allocations: 0 / 1.131 GB, free: 12.12 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001027/1.909, allocations: 447 kB / 1.131 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 7.903e-05/1.909, allocations: 8.031 kB / 1.131 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.558e-05/1.909, allocations: 58.55 kB / 1.132 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.171e-05/1.909, allocations: 23.72 kB / 1.132 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/1.91, allocations: 250.6 kB / 1.132 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/1.91, allocations: 16.38 kB / 1.132 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/1.91, allocations: 20 kB / 1.132 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005723/1.91, allocations: 231.8 kB / 1.132 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/1.91, allocations: 0 / 1.132 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.03e-05/1.911, allocations: 7.953 kB / 1.132 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/1.911, allocations: 8 kB / 1.132 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/1.911, allocations: 91.77 kB / 1.132 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/1.913, allocations: 1.433 MB / 1.134 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/1.913, allocations: 169.1 kB / 1.134 GB, free: 9.152 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/1.913, allocations: 87.23 kB / 1.134 GB, free: 9.066 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.227e-05/1.913, allocations: 105.8 kB / 1.134 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/1.913, allocations: 0 / 1.134 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.0001488/1.913, allocations: 53.39 kB / 1.134 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.913, allocations: 126.7 kB / 1.134 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004856/1.914, allocations: 279 kB / 1.134 GB, free: 8.48 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/1.914, allocations: 29.7 kB / 1.134 GB, free: 8.445 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/1.914, allocations: 155.8 kB / 1.134 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.609e-06/1.914, allocations: 0 / 1.134 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/1.914, allocations: 0 / 1.134 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002132/1.914, allocations: 330.8 kB / 1.135 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.007e-05/1.914, allocations: 4 kB / 1.135 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.462e-05/1.914, allocations: 27.44 kB / 1.135 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.186e-05/1.914, allocations: 8 kB / 1.135 GB, free: 7.906 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/1.914, allocations: 0 / 1.135 GB, free: 7.906 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002426/1.915, allocations: 73.38 kB / 1.135 GB, free: 7.828 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/1.915, allocations: 9.156 kB / 1.135 GB, free: 7.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.915, allocations: 7.938 kB / 1.135 GB, free: 7.812 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/1.915, allocations: 0 / 1.135 GB, free: 7.812 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/1.915, allocations: 15.98 kB / 1.135 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/1.915, allocations: 0 / 1.135 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/1.915, allocations: 23.81 kB / 1.135 GB, free: 7.773 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/1.915, allocations: 4 kB / 1.135 GB, free: 7.77 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0002088/1.915, allocations: 198.7 kB / 1.135 GB, free: 7.566 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/1.915, allocations: 124.6 kB / 1.135 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/1.915, allocations: 125.9 kB / 1.135 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001811/1.916, allocations: 180.2 kB / 1.136 GB, free: 7.121 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001197/1.916, allocations: 192.3 kB / 1.136 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001092/1.916, allocations: 180.2 kB / 1.136 GB, free: 6.742 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005552/1.916, allocations: 465.1 kB / 1.136 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001437/1.917, allocations: 101 kB / 1.136 GB, free: 6.125 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.652e-05/1.917, allocations: 109.1 kB / 1.137 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002156/1.917, allocations: 188.3 kB / 1.137 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/1.917, allocations: 180.3 kB / 1.137 GB, free: 5.637 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002358/1.917, allocations: 184.2 kB / 1.137 GB, free: 5.449 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001055/1.917, allocations: 180.3 kB / 1.137 GB, free: 5.266 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/1.918, allocations: 331.6 kB / 1.138 GB, free: 4.918 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/1.918, allocations: 197.9 kB / 1.138 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/1.918, allocations: 188.2 kB / 1.138 GB, free: 4.508 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/1.918, allocations: 105 kB / 1.138 GB, free: 4.398 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/1.918, allocations: 184.2 kB / 1.138 GB, free: 4.211 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.887e-05/1.918, allocations: 101 kB / 1.138 GB, free: 4.105 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003259/1.919, allocations: 206 kB / 1.139 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.11e-07/1.919, allocations: 4 kB / 1.139 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000424/1.919, allocations: 24 kB / 1.139 GB, free: 3.879 MB / 0.8887 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.0008081/1.92, allocations: 0.8318 MB / 1.139 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001386/1.92, allocations: 12 kB / 1.139 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.92, allocations: 0 / 1.139 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 7.494e-06/1.92, allocations: 3.938 kB / 1.139 GB, free: 3 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/1.922, allocations: 0.6015 MB / 1.14 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/1.925, allocations: 1.533 MB / 1.141 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007389/1.926, allocations: 0.7248 MB / 1.142 GB, free: 52 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002233/1.926, allocations: 21.95 kB / 1.142 GB, free: 28 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/1.926, allocations: 59.48 kB / 1.142 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of SimCode: time 2.194e-06/1.926, allocations: 0 / 1.142 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/1.957, allocations: 4.299 MB / 1.146 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004086/1.958, allocations: 201.2 kB / 1.147 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.046/5.003, allocations: 4 kB / 1.147 GB, free: 11.6 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat does not exist to compare? outputFormat=mat