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.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.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.001454/0.001454, 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.001621/0.001621, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.276/1.276, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.405/2.405, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 0.8689 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.562/0.5633, allocations: 151.6 MB / 1.017 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1342/0.6975, allocations: 146 MB / 1.159 GB, free: 168 kB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004354/0.7019, allocations: 4.596 MB / 1.164 GB, free: 11.55 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002399/0.7021, allocations: 8 kB / 1.164 GB, free: 11.55 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004291/0.7026, allocations: 139.2 kB / 1.164 GB, free: 11.41 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.7029, allocations: 87.5 kB / 1.164 GB, free: 11.32 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.7031, allocations: 55.94 kB / 1.164 GB, free: 11.27 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.7035, allocations: 298.9 kB / 1.165 GB, free: 10.98 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002483/0.7037, allocations: 151.6 kB / 1.165 GB, free: 10.82 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.7039, allocations: 119.5 kB / 1.165 GB, free: 10.71 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.7041, allocations: 163.4 kB / 1.165 GB, free: 10.55 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.7042, allocations: 19.94 kB / 1.165 GB, free: 10.53 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.344e-05/0.7042, allocations: 16 kB / 1.165 GB, free: 10.51 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.091e-05/0.7043, allocations: 67.8 kB / 1.165 GB, free: 10.45 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.465e-05/0.7044, allocations: 99.48 kB / 1.165 GB, free: 10.35 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.7046, allocations: 233.4 kB / 1.165 GB, free: 10.12 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.7046, allocations: 0 / 1.165 GB, free: 10.12 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7046, allocations: 0 / 1.165 GB, free: 10.12 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.7046, allocations: 0 / 1.165 GB, free: 10.12 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.000423/0.7051, allocations: 491.1 kB / 1.166 GB, free: 9.594 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.7051, allocations: 8.031 kB / 1.166 GB, free: 9.586 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.13e-05/0.7052, allocations: 54.73 kB / 1.166 GB, free: 9.523 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.7052, allocations: 28.66 kB / 1.166 GB, free: 9.496 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.7055, allocations: 263.7 kB / 1.166 GB, free: 9.199 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.7055, allocations: 16.81 kB / 1.166 GB, free: 9.184 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.7055, allocations: 24.38 kB / 1.166 GB, free: 9.16 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003641/0.7059, allocations: 300.8 kB / 1.166 GB, free: 8.809 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.7059, allocations: 7.938 kB / 1.166 GB, free: 8.801 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.7059, allocations: 12 kB / 1.166 GB, free: 8.789 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.7059, allocations: 4 kB / 1.166 GB, free: 8.785 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.7061, allocations: 123.8 kB / 1.167 GB, free: 8.664 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.7073, allocations: 1.973 MB / 1.169 GB, free: 6.582 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.926e-05/0.7074, allocations: 173.1 kB / 1.169 GB, free: 6.402 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/0.7074, allocations: 80.14 kB / 1.169 GB, free: 6.32 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.7074, allocations: 75.28 kB / 1.169 GB, free: 6.246 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.7075, allocations: 113.8 kB / 1.169 GB, free: 6.125 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.7075, allocations: 0 / 1.169 GB, free: 6.125 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.582e-05/0.7076, allocations: 49.36 kB / 1.169 GB, free: 6.07 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.7076, allocations: 130.7 kB / 1.169 GB, free: 5.93 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.7079, allocations: 328.5 kB / 1.169 GB, free: 5.594 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.7079, allocations: 25.7 kB / 1.169 GB, free: 5.562 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.708, allocations: 167.7 kB / 1.17 GB, free: 5.395 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.7081, allocations: 7.875 kB / 1.17 GB, free: 5.387 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.7081, allocations: 17.72 kB / 1.17 GB, free: 5.363 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.7082, allocations: 338.8 kB / 1.17 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.7082, allocations: 7.984 kB / 1.17 GB, free: 5.016 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.719e-05/0.7083, allocations: 50.88 kB / 1.17 GB, free: 4.941 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.239e-05/0.7083, allocations: 78.73 kB / 1.17 GB, free: 4.84 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7083, allocations: 3.938 kB / 1.17 GB, free: 4.836 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001526/0.7085, allocations: 97.28 kB / 1.17 GB, free: 4.734 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7085, allocations: 8 kB / 1.17 GB, free: 4.727 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.7085, allocations: 3.938 kB / 1.17 GB, free: 4.723 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.7086, allocations: 4 kB / 1.17 GB, free: 4.719 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.611e-05/0.7086, allocations: 20.17 kB / 1.17 GB, free: 4.699 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.7086, allocations: 4 kB / 1.17 GB, free: 4.695 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.271e-05/0.7087, allocations: 31.59 kB / 1.17 GB, free: 4.664 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.7087, allocations: 4 kB / 1.17 GB, free: 4.66 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.0001139/0.7089, allocations: 213.6 kB / 1.17 GB, free: 4.441 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.614e-05/0.7089, allocations: 124.7 kB / 1.171 GB, free: 4.312 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.966e-05/0.709, allocations: 130 kB / 1.171 GB, free: 4.18 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-05/0.709, allocations: 188.2 kB / 1.171 GB, free: 3.988 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.074e-05/0.7091, allocations: 180.2 kB / 1.171 GB, free: 3.805 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.018e-05/0.7092, allocations: 184.2 kB / 1.171 GB, free: 3.617 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.7094, allocations: 477.1 kB / 1.172 GB, free: 3.094 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.169e-05/0.7095, allocations: 105 kB / 1.172 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.872e-05/0.7095, allocations: 108.9 kB / 1.172 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.963e-05/0.7095, allocations: 184.3 kB / 1.172 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.374e-05/0.7096, allocations: 188.1 kB / 1.172 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.413e-05/0.7097, allocations: 176.3 kB / 1.172 GB, free: 2.312 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.783e-05/0.7097, allocations: 176.3 kB / 1.173 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.7098, allocations: 331.6 kB / 1.173 GB, free: 1.785 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.732e-05/0.7099, allocations: 209.7 kB / 1.173 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.28e-05/0.71, allocations: 180.2 kB / 1.173 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-05/0.7101, allocations: 101 kB / 1.173 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.7102, allocations: 180.2 kB / 1.174 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.7102, allocations: 117 kB / 1.174 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002029/0.7104, allocations: 239 kB / 1.174 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.673e-06/0.7104, allocations: 0 / 1.174 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002571/0.7107, allocations: 35.78 kB / 1.174 GB, free: 0.6953 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.0003265/0.711, allocations: 0.8241 MB / 1.175 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.035e-05/0.7111, allocations: 32.28 kB / 1.175 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7111, allocations: 0 / 1.175 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.7111, allocations: 0 / 1.175 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006783/0.7118, allocations: 0.5175 MB / 1.175 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.714, allocations: 2.564 MB / 1.178 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.7143, allocations: 0.748 MB / 1.179 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.336e-05/0.7144, allocations: 30.28 kB / 1.179 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.254e-05/0.7144, allocations: 55.42 kB / 1.179 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.7144, allocations: 0 / 1.179 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.158/2.872, allocations: 4.64 MB / 1.183 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/2.873, allocations: 220.8 kB / 1.183 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/4.839, allocations: 2.375 kB / 1.183 GB, free: 7.016 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