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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001254/0.001254, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.267/1.267, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.429/2.429, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 64.98 kB / 0.8992 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2188, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1457/0.3646, allocations: 174 MB / 1.223 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007563/0.3722, allocations: 9.502 MB / 1.232 GB, free: 88 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.3724, allocations: 11.94 kB / 1.232 GB, free: 76 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004467/0.3728, allocations: 194.7 kB / 1.232 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.373, allocations: 91.38 kB / 1.232 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001212/0.3732, allocations: 67.8 kB / 1.232 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.3734, allocations: 314.7 kB / 1.233 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002239/0.3737, allocations: 152.5 kB / 1.233 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/0.3739, allocations: 155.5 kB / 1.233 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.634e-05/0.374, allocations: 103.4 kB / 1.233 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.3741, allocations: 16 kB / 1.233 GB, free: 15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.671e-05/0.3741, allocations: 16 kB / 1.233 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.3741, allocations: 39.86 kB / 1.233 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.584e-05/0.3742, allocations: 99.48 kB / 1.233 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.3744, allocations: 207.2 kB / 1.234 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.3744, allocations: 0 / 1.234 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3744, allocations: 0 / 1.234 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3744, allocations: 0 / 1.234 GB, free: 14.64 MB / 0.9981 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.0003519/0.3748, allocations: 475 kB / 1.234 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.3748, allocations: 12.62 kB / 1.234 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.986e-05/0.3748, allocations: 50.55 kB / 1.234 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.3749, allocations: 27.66 kB / 1.234 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.3751, allocations: 254.6 kB / 1.234 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.3751, allocations: 12.44 kB / 1.234 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.3751, allocations: 24 kB / 1.234 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.3754, allocations: 231.8 kB / 1.235 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3754, allocations: 3.984 kB / 1.235 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.3754, allocations: 15.88 kB / 1.235 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3755, allocations: 4 kB / 1.235 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.3756, allocations: 95.84 kB / 1.235 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007854/0.3764, allocations: 1.429 MB / 1.236 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.725e-05/0.3764, allocations: 169.1 kB / 1.236 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.653e-05/0.3765, allocations: 84.14 kB / 1.236 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.3765, allocations: 79.28 kB / 1.236 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.3765, allocations: 109.8 kB / 1.236 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3765, allocations: 0 / 1.236 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.73e-05/0.3766, allocations: 45.42 kB / 1.237 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.3767, allocations: 126.7 kB / 1.237 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.3769, allocations: 287 kB / 1.237 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.3769, allocations: 29.7 kB / 1.237 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.805e-05/0.377, allocations: 143.9 kB / 1.237 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.377, allocations: 3.938 kB / 1.237 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.377, allocations: 25.62 kB / 1.237 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.3771, allocations: 338.8 kB / 1.237 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.637e-06/0.3772, allocations: 3.938 kB / 1.237 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.973e-05/0.3772, allocations: 27.42 kB / 1.237 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.675e-05/0.3772, allocations: 39.38 kB / 1.238 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3772, allocations: 0 / 1.238 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001069/0.3773, allocations: 73.44 kB / 1.238 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.3774, allocations: 4 kB / 1.238 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3774, allocations: 4 kB / 1.238 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.3774, allocations: 0 / 1.238 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.336e-05/0.3774, allocations: 4 kB / 1.238 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3774, allocations: 8.125 kB / 1.238 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.273e-05/0.3775, allocations: 19.8 kB / 1.238 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.3775, allocations: 7.938 kB / 1.238 GB, free: 10.11 MB / 0.9981 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 8.985e-05/0.3776, allocations: 206.5 kB / 1.238 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.3777, allocations: 124.7 kB / 1.238 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.261e-05/0.3777, allocations: 129.9 kB / 1.238 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.305e-05/0.3778, allocations: 180.3 kB / 1.238 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.233e-05/0.3778, allocations: 180.3 kB / 1.238 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-05/0.3779, allocations: 184.2 kB / 1.239 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.3781, allocations: 465.1 kB / 1.239 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.989e-05/0.3781, allocations: 112.9 kB / 1.239 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.3782, allocations: 101 kB / 1.239 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-05/0.3782, allocations: 188.3 kB / 1.239 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.514e-05/0.3783, allocations: 180.2 kB / 1.24 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.311e-05/0.3783, allocations: 176.3 kB / 1.24 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.102e-05/0.3784, allocations: 184.2 kB / 1.24 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.3785, allocations: 331.5 kB / 1.24 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.321e-05/0.3786, allocations: 201.8 kB / 1.24 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.245e-05/0.3786, allocations: 176.5 kB / 1.241 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.193e-05/0.3787, allocations: 108.9 kB / 1.241 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.3788, allocations: 184.3 kB / 1.241 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.3788, allocations: 105 kB / 1.241 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001551/0.379, allocations: 210 kB / 1.241 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.379, allocations: 3.938 kB / 1.241 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002629/0.3792, allocations: 27.94 kB / 1.241 GB, free: 6.207 MB / 0.9981 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.0002881/0.3795, allocations: 0.8241 MB / 1.242 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 4.989e-05/0.3796, allocations: 15.94 kB / 1.242 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.3796, allocations: 0 / 1.242 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.3796, allocations: 0 / 1.242 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007012/0.3803, allocations: 0.5371 MB / 1.243 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.382, allocations: 2.232 MB / 1.245 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.3822, allocations: 0.7245 MB / 1.245 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.46e-05/0.3823, allocations: 29.88 kB / 1.245 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.3824, allocations: 55.42 kB / 1.246 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.3824, allocations: 0 / 1.246 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.506/1.888, allocations: 4.62 MB / 1.25 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.833/11.72, allocations: 4.281 kB / 1.25 GB, free: 197.3 MB / 0.9981 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/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) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches