Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.InletToAirMoistAirCO2,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.00141/0.00141, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001407/0.001407, allocations: 195.3 kB / 16.25 MB, free: 6.621 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.262/1.262, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.49/2.49, allocations: 469.8 MB / 0.7421 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002519/0.002519, allocations: 71.47 kB / 0.9082 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2611, allocations: 159.2 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1901/0.4513, allocations: 171.7 MB / 1.231 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008472/0.4598, allocations: 9.426 MB / 1.241 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.46, allocations: 8 kB / 1.241 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004055/0.4604, allocations: 163 kB / 1.241 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.4606, allocations: 91.44 kB / 1.241 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.4608, allocations: 47.97 kB / 1.241 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.4611, allocations: 330.7 kB / 1.241 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003051/0.4614, allocations: 200.9 kB / 1.241 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002862/0.4617, allocations: 175.3 kB / 1.241 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.4619, allocations: 115.5 kB / 1.242 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.4619, allocations: 20 kB / 1.242 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.176e-05/0.4619, allocations: 20 kB / 1.242 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.428e-05/0.462, allocations: 83.75 kB / 1.242 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.4621, allocations: 131.3 kB / 1.242 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.4624, allocations: 271.1 kB / 1.242 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4624, allocations: 0 / 1.242 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4624, allocations: 0 / 1.242 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.4624, allocations: 0 / 1.242 GB, free: 7.078 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004759/0.4629, allocations: 0.5146 MB / 1.243 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.4629, allocations: 8.031 kB / 1.243 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.098e-05/0.463, allocations: 70.47 kB / 1.243 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.463, allocations: 31.56 kB / 1.243 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.4633, allocations: 258.6 kB / 1.243 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.4633, allocations: 16.56 kB / 1.243 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.4634, allocations: 24 kB / 1.243 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004176/0.4638, allocations: 331.9 kB / 1.243 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4638, allocations: 0 / 1.243 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.4638, allocations: 19.92 kB / 1.243 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.4639, allocations: 11.94 kB / 1.243 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.4641, allocations: 143.8 kB / 1.243 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.4653, allocations: 1.82 MB / 1.245 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.859e-05/0.4654, allocations: 169.1 kB / 1.245 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.591e-05/0.4654, allocations: 88.08 kB / 1.245 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.4655, allocations: 75.28 kB / 1.246 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.4655, allocations: 113.8 kB / 1.246 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.4655, allocations: 0 / 1.246 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.741e-05/0.4656, allocations: 53.36 kB / 1.246 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.4657, allocations: 130.7 kB / 1.246 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003639/0.466, allocations: 377.6 kB / 1.246 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.466, allocations: 25.7 kB / 1.246 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.4662, allocations: 163.8 kB / 1.246 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-06/0.4662, allocations: 4 kB / 1.246 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.4662, allocations: 17.72 kB / 1.246 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.4663, allocations: 334.8 kB / 1.247 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/0.4664, allocations: 7.984 kB / 1.247 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.085e-05/0.4664, allocations: 36.3 kB / 1.247 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.192e-05/0.4664, allocations: 44.23 kB / 1.247 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4665, allocations: 0 / 1.247 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001332/0.4666, allocations: 93.12 kB / 1.247 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.4666, allocations: 4.156 kB / 1.247 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.4666, allocations: 4 kB / 1.247 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.4666, allocations: 7.984 kB / 1.247 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.802e-05/0.4667, allocations: 8 kB / 1.247 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.4667, allocations: 0 / 1.247 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.873e-05/0.4668, allocations: 31.73 kB / 1.247 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.4668, allocations: 4.062 kB / 1.247 GB, free: 1.742 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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 0.0001251/0.4669, allocations: 217 kB / 1.247 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.993e-05/0.467, allocations: 132.5 kB / 1.247 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.385e-05/0.4671, allocations: 142.9 kB / 1.247 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.007e-05/0.4671, allocations: 180.2 kB / 1.248 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.11e-05/0.4672, allocations: 176.3 kB / 1.248 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.214e-05/0.4673, allocations: 180.2 kB / 1.248 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.4676, allocations: 493 kB / 1.248 GB, free: 152 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.756e-05/0.4676, allocations: 109 kB / 1.249 GB, free: 36 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.365/0.8326, allocations: 105 kB / 1.249 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.323e-05/0.8327, allocations: 177.4 kB / 1.249 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.8327, allocations: 184.2 kB / 1.249 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.817e-05/0.8327, allocations: 178.2 kB / 1.249 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.7e-05/0.8328, allocations: 181 kB / 1.249 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.8329, allocations: 333.7 kB / 1.25 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-05/0.833, allocations: 207.7 kB / 1.25 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.833, allocations: 184.2 kB / 1.25 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/0.8331, allocations: 106.9 kB / 1.25 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.8331, allocations: 185.8 kB / 1.25 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.8331, allocations: 103.4 kB / 1.25 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000279/0.8334, allocations: 271.3 kB / 1.251 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8334, allocations: 0 / 1.251 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002421/0.8337, allocations: 27.28 kB / 1.251 GB, free: 189.3 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.000189/0.8339, allocations: 0.8404 MB / 1.251 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.913e-05/0.8339, allocations: 17.7 kB / 1.252 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.834, allocations: 3.219 kB / 1.252 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.834, allocations: 0.625 kB / 1.252 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006767/0.8346, allocations: 0.5499 MB / 1.252 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.8367, allocations: 2.75 MB / 1.255 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.8369, allocations: 0.7534 MB / 1.255 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.069e-05/0.837, allocations: 35.31 kB / 1.255 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.275e-05/0.837, allocations: 85.16 kB / 1.256 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.8371, allocations: 0 / 1.256 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.315/2.152, allocations: 5.735 MB / 1.261 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/2.152, allocations: 223.1 kB / 1.261 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.6/4.752, allocations: 0 / 1.261 GB, free: 185.1 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches