Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_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.006415/0.006415, allocations: 99.75 kB / 15.73 MB, free: 5.547 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.001422/0.001422, allocations: 188.2 kB / 16.67 MB, free: 5.492 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.565/2.565, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.91 kB / 1.054 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2935, allocations: 157.4 MB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.8099/1.103, allocations: 148 MB / 1.352 GB, free: 15.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006584/1.11, allocations: 4.655 MB / 1.356 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004606/1.111, allocations: 8 kB / 1.356 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006205/1.111, allocations: 165 kB / 1.357 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004003/1.112, allocations: 88.8 kB / 1.357 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/1.112, allocations: 61.72 kB / 1.357 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004508/1.112, allocations: 303.7 kB / 1.357 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003053/1.113, allocations: 142.3 kB / 1.357 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/1.113, allocations: 114.8 kB / 1.357 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/1.113, allocations: 158.2 kB / 1.357 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/1.113, allocations: 16.25 kB / 1.357 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.352e-05/1.113, allocations: 15.97 kB / 1.357 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.565e-05/1.113, allocations: 67.59 kB / 1.357 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/1.113, allocations: 102 kB / 1.358 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/1.114, allocations: 245.3 kB / 1.358 GB, free: 11.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/1.114, allocations: 0 / 1.358 GB, free: 11.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/1.114, allocations: 1.156 kB / 1.358 GB, free: 11.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.672e-06/1.114, allocations: 4 kB / 1.358 GB, free: 11.16 MB / 1.061 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.0005408/1.114, allocations: 490.2 kB / 1.358 GB, free: 10.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/1.114, allocations: 10.19 kB / 1.358 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.69e-05/1.114, allocations: 60.61 kB / 1.358 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/1.114, allocations: 26.59 kB / 1.358 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/1.115, allocations: 265.5 kB / 1.359 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/1.115, allocations: 17.19 kB / 1.359 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/1.115, allocations: 26.59 kB / 1.359 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/1.115, allocations: 306 kB / 1.359 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/1.115, allocations: 4.719 kB / 1.359 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/1.115, allocations: 11.75 kB / 1.359 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/1.115, allocations: 7.344 kB / 1.359 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/1.116, allocations: 124.6 kB / 1.359 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/1.117, allocations: 1.962 MB / 1.361 GB, free: 8.254 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.017e-05/1.117, allocations: 170.8 kB / 1.361 GB, free: 8.078 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.598e-05/1.117, allocations: 82.34 kB / 1.361 GB, free: 7.996 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/1.117, allocations: 75.28 kB / 1.361 GB, free: 7.922 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/1.117, allocations: 114.9 kB / 1.361 GB, free: 7.801 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/1.117, allocations: 1.125 kB / 1.361 GB, free: 7.801 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.821e-05/1.117, allocations: 52.86 kB / 1.362 GB, free: 7.754 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/1.117, allocations: 126.7 kB / 1.362 GB, free: 7.617 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/1.118, allocations: 332.9 kB / 1.362 GB, free: 7.445 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/1.118, allocations: 27.11 kB / 1.362 GB, free: 7.414 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/1.118, allocations: 166.1 kB / 1.362 GB, free: 7.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-06/1.118, allocations: 5.219 kB / 1.362 GB, free: 7.266 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/1.118, allocations: 24.5 kB / 1.362 GB, free: 7.242 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.118, allocations: 333.1 kB / 1.362 GB, free: 6.922 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.917e-05/1.118, allocations: 8.719 kB / 1.362 GB, free: 6.918 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.885e-05/1.118, allocations: 57.09 kB / 1.363 GB, free: 6.852 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.122e-05/1.118, allocations: 71.48 kB / 1.363 GB, free: 6.773 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.118, allocations: 9.469 kB / 1.363 GB, free: 6.766 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001673/1.118, allocations: 98.92 kB / 1.363 GB, free: 6.703 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/1.118, allocations: 6.75 kB / 1.363 GB, free: 6.703 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.118, allocations: 4.547 kB / 1.363 GB, free: 6.703 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/1.118, allocations: 6.344 kB / 1.363 GB, free: 6.699 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/1.118, allocations: 15.84 kB / 1.363 GB, free: 6.695 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/1.118, allocations: 3.594 kB / 1.363 GB, free: 6.695 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.711e-05/1.119, allocations: 27.56 kB / 1.363 GB, free: 6.676 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/1.119, allocations: 3.656 kB / 1.363 GB, free: 6.676 MB / 1.061 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.0001398/1.119, allocations: 214.9 kB / 1.363 GB, free: 6.473 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.41e-05/1.119, allocations: 127.5 kB / 1.363 GB, free: 6.352 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.989e-05/1.119, allocations: 133.4 kB / 1.363 GB, free: 6.227 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.847e-05/1.119, allocations: 181.4 kB / 1.363 GB, free: 6.043 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.246e-05/1.119, allocations: 185.6 kB / 1.364 GB, free: 5.855 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.114e-05/1.119, allocations: 181.6 kB / 1.364 GB, free: 5.672 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/1.119, allocations: 473.9 kB / 1.364 GB, free: 5.207 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.816e-05/1.119, allocations: 103.4 kB / 1.364 GB, free: 5.102 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.629e-05/1.119, allocations: 106 kB / 1.364 GB, free: 4.992 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.094e-05/1.12, allocations: 181.4 kB / 1.365 GB, free: 4.809 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.037e-05/1.12, allocations: 191.5 kB / 1.365 GB, free: 4.617 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.017e-05/1.12, allocations: 178.6 kB / 1.365 GB, free: 4.438 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-05/1.12, allocations: 177.5 kB / 1.365 GB, free: 4.258 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/1.12, allocations: 331.7 kB / 1.365 GB, free: 3.926 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/1.12, allocations: 213.9 kB / 1.366 GB, free: 3.703 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.956e-05/1.12, allocations: 181.3 kB / 1.366 GB, free: 3.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.916e-05/1.12, allocations: 102.2 kB / 1.366 GB, free: 3.414 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/1.12, allocations: 183.2 kB / 1.366 GB, free: 3.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/1.12, allocations: 104.6 kB / 1.366 GB, free: 3.125 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002446/1.121, allocations: 239.4 kB / 1.366 GB, free: 2.996 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.121, allocations: 4 kB / 1.366 GB, free: 2.992 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002564/1.121, allocations: 28.56 kB / 1.366 GB, free: 2.988 MB / 1.061 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.000456/1.121, allocations: 0.8307 MB / 1.367 GB, free: 2.164 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.734e-05/1.121, allocations: 32.17 kB / 1.367 GB, free: 2.148 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.121, allocations: 1.406 kB / 1.367 GB, free: 2.148 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/1.121, allocations: 0.5625 kB / 1.367 GB, free: 2.148 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007152/1.122, allocations: 0.5226 MB / 1.368 GB, free: 1.676 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/1.125, allocations: 2.51 MB / 1.37 GB, free: 15.86 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/1.125, allocations: 0.7452 MB / 1.371 GB, free: 15.16 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.973e-05/1.125, allocations: 24.12 kB / 1.371 GB, free: 15.16 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/1.125, allocations: 64.3 kB / 1.371 GB, free: 15.11 MB / 1.076 GB Notification: Performance of SimCode: time 2.1e-07/1.125, allocations: 0 / 1.371 GB, free: 15.11 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/1.146, allocations: 4.881 MB / 1.376 GB, free: 13.83 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.364/8.51, allocations: 1.125 kB / 1.376 GB, free: 13.83 MB / 1.076 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches