Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.InletToAirMoistAir,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_9_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.001008/0.001008, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.007842/0.007842, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.091/2.091, allocations: 390.9 MB / 0.6664 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002779/0.0002779, allocations: 12 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5298/0.53, allocations: 142.4 MB / 0.9552 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1577/0.6878, allocations: 169.6 MB / 1.121 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008225/0.696, allocations: 9.373 MB / 1.13 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002141/0.6963, allocations: 7.938 kB / 1.13 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004346/0.6967, allocations: 151 kB / 1.13 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.6969, allocations: 87.48 kB / 1.13 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.6971, allocations: 47.95 kB / 1.13 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003613/0.6974, allocations: 374.6 kB / 1.131 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.6977, allocations: 145.6 kB / 1.131 GB, free: 11 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000258/0.6979, allocations: 123.5 kB / 1.131 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.228e-05/0.698, allocations: 79.52 kB / 1.131 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.698, allocations: 8 kB / 1.131 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.616e-05/0.6981, allocations: 3.938 kB / 1.131 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.6981, allocations: 23.86 kB / 1.131 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.565e-05/0.6982, allocations: 109.2 kB / 1.131 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.6983, allocations: 191.2 kB / 1.131 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.6983, allocations: 3.938 kB / 1.131 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of FrontEnd: time 6.152e-06/0.6984, allocations: 3.984 kB / 1.131 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.6984, allocations: 0 / 1.131 GB, free: 10.45 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.0003193/0.6987, allocations: 435.1 kB / 1.132 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.6987, allocations: 12.03 kB / 1.132 GB, free: 9.969 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.623e-05/0.6988, allocations: 54.55 kB / 1.132 GB, free: 9.906 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.6988, allocations: 23.66 kB / 1.132 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.699, allocations: 251.5 kB / 1.132 GB, free: 9.598 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.6991, allocations: 16.44 kB / 1.132 GB, free: 9.578 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.6991, allocations: 16 kB / 1.132 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.6994, allocations: 235.8 kB / 1.132 GB, free: 9.301 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.6994, allocations: 0 / 1.132 GB, free: 9.301 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.6994, allocations: 15.94 kB / 1.132 GB, free: 9.285 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.6994, allocations: 4 kB / 1.132 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.6996, allocations: 87.84 kB / 1.132 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008214/0.7004, allocations: 1.437 MB / 1.134 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.724e-05/0.7005, allocations: 169.1 kB / 1.134 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.255e-05/0.7005, allocations: 80.14 kB / 1.134 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.7005, allocations: 83.22 kB / 1.134 GB, free: 7.332 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.7006, allocations: 105.8 kB / 1.134 GB, free: 7.219 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 2.014e-06/0.7006, allocations: 3.984 kB / 1.134 GB, free: 7.215 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 6.96e-05/0.7007, allocations: 53.42 kB / 1.134 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.7007, allocations: 126.7 kB / 1.134 GB, free: 7.02 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.701, allocations: 287 kB / 1.135 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.701, allocations: 25.7 kB / 1.135 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.308e-05/0.7011, allocations: 147.9 kB / 1.135 GB, free: 6.547 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-06/0.7011, allocations: 0 / 1.135 GB, free: 6.547 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/0.7011, allocations: 13.72 kB / 1.135 GB, free: 6.527 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.7012, allocations: 334.8 kB / 1.135 GB, free: 6.191 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.7012, allocations: 4 kB / 1.135 GB, free: 6.188 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.23e-05/0.7012, allocations: 35.36 kB / 1.135 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.651e-05/0.7013, allocations: 35.38 kB / 1.135 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7013, allocations: 0 / 1.135 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001078/0.7014, allocations: 81.34 kB / 1.135 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.7014, allocations: 4 kB / 1.135 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/0.7014, allocations: 128 / 1.135 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.7014, allocations: 4 kB / 1.135 GB, free: 6 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.152e-05/0.7015, allocations: 8 kB / 1.135 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.7015, allocations: 0 / 1.135 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.7016, allocations: 27.62 kB / 1.135 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-06/0.7016, allocations: 0 / 1.135 GB, free: 5.965 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.098e-05/0.7017, allocations: 205 kB / 1.135 GB, free: 5.754 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.7017, allocations: 128.7 kB / 1.136 GB, free: 5.621 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/0.7018, allocations: 121.9 kB / 1.136 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.153e-05/0.7018, allocations: 188.2 kB / 1.136 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.592e-05/0.7019, allocations: 176.3 kB / 1.136 GB, free: 5.125 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-05/0.7019, allocations: 180.2 kB / 1.136 GB, free: 4.941 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.7022, allocations: 469.1 kB / 1.137 GB, free: 4.426 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-05/0.7022, allocations: 109 kB / 1.137 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.7023, allocations: 113.2 kB / 1.137 GB, free: 4.195 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.694e-05/0.7023, allocations: 180.2 kB / 1.137 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.953e-05/0.7024, allocations: 188.2 kB / 1.137 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.431e-05/0.7024, allocations: 176.3 kB / 1.137 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.661e-05/0.7025, allocations: 180.2 kB / 1.138 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.7026, allocations: 327.5 kB / 1.138 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 7.854e-05/0.7027, allocations: 205.7 kB / 1.138 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.053e-05/0.7027, allocations: 180.3 kB / 1.138 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.364e-05/0.7028, allocations: 101 kB / 1.138 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.7029, allocations: 180.2 kB / 1.139 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.7029, allocations: 113 kB / 1.139 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000164/0.7031, allocations: 206 kB / 1.139 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7031, allocations: 0 / 1.139 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002236/0.7033, allocations: 27.94 kB / 1.139 GB, free: 2.07 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002986/0.7036, allocations: 0.828 MB / 1.14 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 4.514e-05/0.7037, allocations: 11.94 kB / 1.14 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7037, allocations: 0 / 1.14 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.7037, allocations: 0 / 1.14 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000676/0.7044, allocations: 0.6047 MB / 1.14 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.7062, allocations: 2.279 MB / 1.142 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.7064, allocations: 0.717 MB / 1.143 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.473e-05/0.7065, allocations: 33.95 kB / 1.143 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.262e-05/0.7066, allocations: 59.42 kB / 1.143 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of SimCode: time 2.91e-07/0.7066, allocations: 0 / 1.143 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.666/3.373, allocations: 4.324 MB / 1.148 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/3.373, allocations: 218 kB / 1.148 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.843/7.216, allocations: 0 / 1.148 GB, free: 8.969 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches