Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_10_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.0012/0.0012, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001153/0.001153, allocations: 190.4 kB / 16.25 MB, free: 6.641 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.151/1.151, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.392/2.392, allocations: 437.1 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001187, allocations: 67.91 kB / 0.8689 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4909/0.4921, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1526/0.6447, allocations: 171.7 MB / 1.185 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00926/0.6541, allocations: 9.433 MB / 1.194 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002707/0.6544, allocations: 11.94 kB / 1.194 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005238/0.655, allocations: 159.1 kB / 1.194 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.6552, allocations: 79.44 kB / 1.194 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.6554, allocations: 63.94 kB / 1.194 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003882/0.6558, allocations: 326.6 kB / 1.194 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.6562, allocations: 216.7 kB / 1.195 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003447/0.6565, allocations: 167.4 kB / 1.195 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.6567, allocations: 123.5 kB / 1.195 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.6567, allocations: 24 kB / 1.195 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.232e-05/0.6568, allocations: 20 kB / 1.195 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.057e-05/0.6569, allocations: 75.75 kB / 1.195 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.657, allocations: 131.4 kB / 1.195 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.6573, allocations: 267.1 kB / 1.195 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6573, allocations: 3.938 kB / 1.195 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6573, allocations: 0 / 1.195 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.6573, allocations: 0 / 1.195 GB, free: 11.27 MB / 0.9512 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.0004795/0.6578, allocations: 0.5185 MB / 1.196 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.6578, allocations: 8.031 kB / 1.196 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.771e-05/0.6579, allocations: 58.55 kB / 1.196 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/0.6579, allocations: 31.66 kB / 1.196 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.6582, allocations: 274.3 kB / 1.196 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.6582, allocations: 24.56 kB / 1.196 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.6583, allocations: 27.94 kB / 1.196 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004128/0.6587, allocations: 320 kB / 1.197 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.6587, allocations: 0 / 1.197 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.6587, allocations: 15.98 kB / 1.197 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.6587, allocations: 15.88 kB / 1.197 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.659, allocations: 143.7 kB / 1.197 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.6601, allocations: 1.812 MB / 1.199 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.281e-05/0.6602, allocations: 173.1 kB / 1.199 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.824e-05/0.6603, allocations: 84.08 kB / 1.199 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.6603, allocations: 75.28 kB / 1.199 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.6603, allocations: 105.8 kB / 1.199 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.6603, allocations: 0 / 1.199 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.164e-05/0.6604, allocations: 61.27 kB / 1.199 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.6605, allocations: 130.7 kB / 1.199 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.6608, allocations: 373.7 kB / 1.2 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.6609, allocations: 25.7 kB / 1.2 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.661, allocations: 167.8 kB / 1.2 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.661, allocations: 0 / 1.2 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.661, allocations: 17.72 kB / 1.2 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.6611, allocations: 338.8 kB / 1.2 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/0.6612, allocations: 4 kB / 1.2 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.993e-05/0.6612, allocations: 44.31 kB / 1.2 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.837e-05/0.6612, allocations: 44.23 kB / 1.2 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.6612, allocations: 0 / 1.2 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001449/0.6614, allocations: 93.22 kB / 1.2 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.6614, allocations: 8 kB / 1.2 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.6614, allocations: 0 / 1.2 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.6614, allocations: 0 / 1.2 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.522e-05/0.6615, allocations: 8 kB / 1.2 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.6615, allocations: 7.938 kB / 1.2 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.45e-05/0.6616, allocations: 27.86 kB / 1.2 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.6616, allocations: 12 kB / 1.2 GB, free: 5.926 MB / 0.9512 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.0001147/0.6617, allocations: 205.7 kB / 1.201 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-05/0.6618, allocations: 136.6 kB / 1.201 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.568e-05/0.6619, allocations: 131 kB / 1.201 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-05/0.6619, allocations: 180.2 kB / 1.201 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.316e-05/0.662, allocations: 188.2 kB / 1.201 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.302e-05/0.662, allocations: 176.3 kB / 1.201 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.6623, allocations: 497 kB / 1.202 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-05/0.6624, allocations: 104.9 kB / 1.202 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.869e-05/0.6624, allocations: 105 kB / 1.202 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.913e-05/0.6624, allocations: 180.2 kB / 1.202 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.005e-05/0.6625, allocations: 180.3 kB / 1.202 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.7e-05/0.6626, allocations: 184.2 kB / 1.202 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.627e-05/0.6626, allocations: 184.2 kB / 1.203 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.6627, allocations: 335.3 kB / 1.203 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.784e-05/0.6629, allocations: 213.8 kB / 1.203 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.689e-05/0.6629, allocations: 176.3 kB / 1.203 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.922e-05/0.663, allocations: 112.9 kB / 1.203 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.6631, allocations: 176.3 kB / 1.204 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.6631, allocations: 104.9 kB / 1.204 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002418/0.6634, allocations: 271.2 kB / 1.204 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6634, allocations: 0 / 1.204 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002525/0.6636, allocations: 35.94 kB / 1.204 GB, free: 1.902 MB / 0.9512 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.0003322/0.664, allocations: 0.8399 MB / 1.205 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.57e-05/0.6641, allocations: 16.19 kB / 1.205 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6641, allocations: 4.062 kB / 1.205 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.6641, allocations: 0 / 1.205 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007631/0.6648, allocations: 0.5439 MB / 1.205 GB, free: 472 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.6673, allocations: 2.754 MB / 1.208 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.6676, allocations: 0.7519 MB / 1.209 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001136/0.6677, allocations: 30.97 kB / 1.209 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.863e-05/0.6678, allocations: 79.41 kB / 1.209 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.6678, allocations: 0 / 1.209 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.769/1.437, allocations: 5.747 MB / 1.215 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/1.437, allocations: 217.4 kB / 1.215 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/3.104, allocations: 0 / 1.215 GB, free: 6.914 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches