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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008315/0.0008316, allocations: 90.52 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.004649/0.004649, allocations: 170 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.319/1.319, allocations: 223.3 MB / 240.3 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.534/2.534, allocations: 437.8 MB / 0.7121 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003246, allocations: 12 kB / 0.8729 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5773/0.5776, allocations: 153.8 MB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1609/0.7386, allocations: 169.6 MB / 1.189 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008536/0.7472, allocations: 9.376 MB / 1.198 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.7474, allocations: 4 kB / 1.198 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000422/0.7478, allocations: 155 kB / 1.198 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.748, allocations: 79.48 kB / 1.198 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.7482, allocations: 63.89 kB / 1.198 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.7485, allocations: 382.6 kB / 1.199 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002996/0.7488, allocations: 189.7 kB / 1.199 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.7491, allocations: 127.4 kB / 1.199 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.7492, allocations: 95.44 kB / 1.199 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.7492, allocations: 4 kB / 1.199 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.174e-05/0.7493, allocations: 4 kB / 1.199 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.749e-05/0.7493, allocations: 51.78 kB / 1.199 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.7495, allocations: 129.1 kB / 1.199 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.7497, allocations: 259 kB / 1.199 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.7497, allocations: 0 / 1.199 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7497, allocations: 0 / 1.199 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.7497, allocations: 0 / 1.199 GB, free: 10.61 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.0004077/0.7501, allocations: 475 kB / 1.2 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.7502, allocations: 11.97 kB / 1.2 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.827e-05/0.7502, allocations: 62.53 kB / 1.2 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.7503, allocations: 35.59 kB / 1.2 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.7506, allocations: 278.3 kB / 1.2 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.7506, allocations: 24.56 kB / 1.2 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.7506, allocations: 24 kB / 1.2 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.751, allocations: 323.9 kB / 1.201 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.7511, allocations: 0 / 1.201 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.7511, allocations: 12 kB / 1.201 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.7511, allocations: 11.94 kB / 1.201 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.7513, allocations: 147.7 kB / 1.201 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.7525, allocations: 1.816 MB / 1.203 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.005e-05/0.7526, allocations: 181.1 kB / 1.203 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.7526, allocations: 84.08 kB / 1.203 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.7526, allocations: 75.28 kB / 1.203 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.7527, allocations: 109.8 kB / 1.203 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.7527, allocations: 0 / 1.203 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 8.12e-05/0.7528, allocations: 53.42 kB / 1.203 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.7528, allocations: 134.6 kB / 1.203 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.7532, allocations: 373.7 kB / 1.203 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.7532, allocations: 25.7 kB / 1.204 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.7533, allocations: 163.8 kB / 1.204 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.7533, allocations: 0 / 1.204 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/0.7533, allocations: 17.72 kB / 1.204 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.7535, allocations: 334.8 kB / 1.204 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.7535, allocations: 8 kB / 1.204 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.642e-05/0.7535, allocations: 36.3 kB / 1.204 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.028e-05/0.7536, allocations: 52.22 kB / 1.204 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7536, allocations: 0 / 1.204 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001453/0.7537, allocations: 85.22 kB / 1.204 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.7538, allocations: 8 kB / 1.204 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.7538, allocations: 0 / 1.204 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.7538, allocations: 4 kB / 1.204 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.298e-05/0.7538, allocations: 4 kB / 1.204 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.7539, allocations: 4 kB / 1.204 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.289e-05/0.7539, allocations: 27.75 kB / 1.204 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.7539, allocations: 4 kB / 1.204 GB, free: 5.312 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.0001215/0.7541, allocations: 221.6 kB / 1.204 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-05/0.7541, allocations: 128.8 kB / 1.205 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.506e-05/0.7542, allocations: 138.8 kB / 1.205 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.993e-05/0.7543, allocations: 180.2 kB / 1.205 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.038e-05/0.7543, allocations: 184.3 kB / 1.205 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-05/0.7544, allocations: 180.2 kB / 1.205 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.7547, allocations: 493 kB / 1.206 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-05/0.7547, allocations: 101 kB / 1.206 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.716e-05/0.7547, allocations: 108.9 kB / 1.206 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.933e-05/0.7548, allocations: 180.3 kB / 1.206 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/0.7549, allocations: 184.2 kB / 1.206 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.853e-05/0.7549, allocations: 180.3 kB / 1.206 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-05/0.755, allocations: 184.2 kB / 1.207 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.7551, allocations: 331.5 kB / 1.207 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.74e-05/0.7552, allocations: 213.7 kB / 1.207 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.83e-05/0.7553, allocations: 188.3 kB / 1.207 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.7554, allocations: 104.9 kB / 1.207 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.7554, allocations: 176.3 kB / 1.208 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.7555, allocations: 101 kB / 1.208 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002477/0.7557, allocations: 275.1 kB / 1.208 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7557, allocations: 0 / 1.208 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002595/0.756, allocations: 35.94 kB / 1.208 GB, free: 1.281 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.0003245/0.7563, allocations: 0.8356 MB / 1.209 GB, free: 428 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 5.883e-05/0.7564, allocations: 16.17 kB / 1.209 GB, free: 412 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7564, allocations: 4.062 kB / 1.209 GB, free: 408 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.7564, allocations: 0 / 1.209 GB, free: 408 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008238/0.7572, allocations: 0.6137 MB / 1.209 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.7598, allocations: 2.764 MB / 1.212 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.7601, allocations: 0.7521 MB / 1.213 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001001/0.7602, allocations: 34.97 kB / 1.213 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.009e-05/0.7603, allocations: 75.41 kB / 1.213 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.7603, allocations: 0 / 1.213 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8317/1.592, allocations: 5.498 MB / 1.218 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/1.592, allocations: 221.6 kB / 1.219 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.098/3.69, allocations: 0 / 1.219 GB, free: 6.465 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