Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.InletToAirDryAirCO2,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.001257/0.001257, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001284/0.001284, allocations: 194.4 kB / 16.14 MB, free: 6.645 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.263/1.263, allocations: 222.9 MB / 239.8 MB, free: 4.516 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.387/2.387, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.91 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5163/0.5177, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1411/0.6589, allocations: 145.8 MB / 1.159 GB, free: 424 kB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004495/0.6634, allocations: 4.607 MB / 1.164 GB, free: 11.79 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.6636, allocations: 11.94 kB / 1.164 GB, free: 11.78 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004194/0.6641, allocations: 131.1 kB / 1.164 GB, free: 11.65 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.6645, allocations: 79.58 kB / 1.164 GB, free: 11.57 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.6646, allocations: 55.89 kB / 1.164 GB, free: 11.52 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000374/0.665, allocations: 366.8 kB / 1.164 GB, free: 11.16 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.6653, allocations: 144.1 kB / 1.164 GB, free: 11.01 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.6654, allocations: 95.59 kB / 1.164 GB, free: 10.92 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.6657, allocations: 159.4 kB / 1.165 GB, free: 10.76 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.6657, allocations: 12 kB / 1.165 GB, free: 10.75 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.368e-05/0.6657, allocations: 12 kB / 1.165 GB, free: 10.74 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.237e-05/0.6658, allocations: 63.83 kB / 1.165 GB, free: 10.68 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.752e-05/0.6659, allocations: 99.48 kB / 1.165 GB, free: 10.58 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.6661, allocations: 225.4 kB / 1.165 GB, free: 10.36 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6661, allocations: 4 kB / 1.165 GB, free: 10.36 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6661, allocations: 0 / 1.165 GB, free: 10.36 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.6662, allocations: 0 / 1.165 GB, free: 10.36 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004959/0.6667, allocations: 0.4894 MB / 1.166 GB, free: 9.82 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.6667, allocations: 8.031 kB / 1.166 GB, free: 9.812 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.516e-05/0.6668, allocations: 54.73 kB / 1.166 GB, free: 9.75 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.6668, allocations: 28.56 kB / 1.166 GB, free: 9.723 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.6671, allocations: 259.8 kB / 1.166 GB, free: 9.43 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.6671, allocations: 16.81 kB / 1.166 GB, free: 9.414 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.6672, allocations: 20.38 kB / 1.166 GB, free: 9.395 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/0.6676, allocations: 308.8 kB / 1.166 GB, free: 9.035 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.6676, allocations: 0 / 1.166 GB, free: 9.035 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.6676, allocations: 8 kB / 1.166 GB, free: 9.027 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.6676, allocations: 8 kB / 1.166 GB, free: 9.02 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.6678, allocations: 123.7 kB / 1.166 GB, free: 8.898 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.6691, allocations: 1.973 MB / 1.168 GB, free: 6.816 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.923e-05/0.6692, allocations: 169.1 kB / 1.168 GB, free: 6.641 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.95e-05/0.6693, allocations: 80.14 kB / 1.168 GB, free: 6.559 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.6693, allocations: 75.28 kB / 1.169 GB, free: 6.484 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/0.6694, allocations: 113.8 kB / 1.169 GB, free: 6.363 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.6694, allocations: 0 / 1.169 GB, free: 6.363 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0001188/0.6695, allocations: 57.34 kB / 1.169 GB, free: 6.301 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.6696, allocations: 126.7 kB / 1.169 GB, free: 6.164 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/0.6699, allocations: 328.5 kB / 1.169 GB, free: 5.836 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.6699, allocations: 25.7 kB / 1.169 GB, free: 5.805 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.67, allocations: 171.6 kB / 1.169 GB, free: 5.633 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.67, allocations: 0 / 1.169 GB, free: 5.633 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.6701, allocations: 29.62 kB / 1.169 GB, free: 5.598 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.96e-05/0.6702, allocations: 334.8 kB / 1.17 GB, free: 5.262 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.6702, allocations: 4 kB / 1.17 GB, free: 5.258 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.997e-05/0.6702, allocations: 62.8 kB / 1.17 GB, free: 5.172 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.991e-05/0.6703, allocations: 66.81 kB / 1.17 GB, free: 5.082 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6703, allocations: 4 kB / 1.17 GB, free: 5.078 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001548/0.6705, allocations: 105.3 kB / 1.17 GB, free: 4.969 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.6705, allocations: 4 kB / 1.17 GB, free: 4.965 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.6705, allocations: 7.938 kB / 1.17 GB, free: 4.957 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.6705, allocations: 0 / 1.17 GB, free: 4.957 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.576e-05/0.6706, allocations: 16 kB / 1.17 GB, free: 4.941 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.6706, allocations: 8.188 kB / 1.17 GB, free: 4.934 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.856e-05/0.6707, allocations: 31.59 kB / 1.17 GB, free: 4.902 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.6707, allocations: 4 kB / 1.17 GB, free: 4.898 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001069/0.6708, allocations: 209.1 kB / 1.17 GB, free: 4.684 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.106e-05/0.6709, allocations: 140.6 kB / 1.17 GB, free: 4.539 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.716e-05/0.671, allocations: 126 kB / 1.17 GB, free: 4.41 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.407e-05/0.671, allocations: 176.3 kB / 1.171 GB, free: 4.23 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.156e-05/0.6711, allocations: 192.2 kB / 1.171 GB, free: 4.035 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.782e-05/0.6711, allocations: 180.2 kB / 1.171 GB, free: 3.852 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.6714, allocations: 477.1 kB / 1.171 GB, free: 3.328 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-05/0.6714, allocations: 105 kB / 1.172 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.758e-05/0.6715, allocations: 101 kB / 1.172 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.294e-05/0.6715, allocations: 184.2 kB / 1.172 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.586e-05/0.6716, allocations: 184.2 kB / 1.172 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.908e-05/0.6716, allocations: 184.2 kB / 1.172 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-05/0.6717, allocations: 180.3 kB / 1.172 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.6718, allocations: 319.5 kB / 1.173 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.289e-05/0.6719, allocations: 209.8 kB / 1.173 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.137e-05/0.672, allocations: 188.1 kB / 1.173 GB, free: 1.609 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.942e-05/0.6721, allocations: 105 kB / 1.173 GB, free: 1.5 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.6722, allocations: 184.3 kB / 1.173 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.6722, allocations: 104.9 kB / 1.173 GB, free: 1.203 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002171/0.6724, allocations: 239 kB / 1.174 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6725, allocations: 7.938 kB / 1.174 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002531/0.6727, allocations: 27.94 kB / 1.174 GB, free: 0.9375 MB / 0.92 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.0003336/0.673, allocations: 0.831 MB / 1.174 GB, free: 80 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 6.577e-05/0.6731, allocations: 27.94 kB / 1.174 GB, free: 52 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.6731, allocations: 0 / 1.174 GB, free: 52 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.6731, allocations: 4 kB / 1.174 GB, free: 48 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007342/0.6739, allocations: 0.5898 MB / 1.175 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.6762, allocations: 2.55 MB / 1.178 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.6765, allocations: 0.7482 MB / 1.178 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001364/0.6766, allocations: 30.28 kB / 1.178 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.471e-05/0.6767, allocations: 67.41 kB / 1.178 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.6767, allocations: 0 / 1.178 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01312/0.6899, allocations: 4.52 MB / 1.183 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.6901, allocations: 214.2 kB / 1.183 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.352, allocations: 0 / 1.183 GB, free: 7.285 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches