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.007799/0.007799, allocations: 101.6 kB / 15.73 MB, free: 6.047 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.001832/0.001832, allocations: 196.2 kB / 16.68 MB, free: 5.969 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.461/2.461, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 64.03 kB / 1.054 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8325/0.8347, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1563/0.991, allocations: 148 MB / 1.352 GB, free: 8.977 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005097/0.9961, allocations: 4.646 MB / 1.356 GB, free: 4.312 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003508/0.9965, allocations: 8 kB / 1.356 GB, free: 4.305 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005708/0.9971, allocations: 162.8 kB / 1.357 GB, free: 4.145 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004392/0.9976, allocations: 99.36 kB / 1.357 GB, free: 4.047 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.9978, allocations: 63.92 kB / 1.357 GB, free: 3.984 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004253/0.9982, allocations: 298.8 kB / 1.357 GB, free: 3.691 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003149/0.9986, allocations: 155.6 kB / 1.357 GB, free: 3.539 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.9988, allocations: 111.6 kB / 1.357 GB, free: 3.43 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.999, allocations: 147.4 kB / 1.357 GB, free: 3.285 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.934e-05/0.9991, allocations: 16 kB / 1.357 GB, free: 3.27 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.321e-05/0.9991, allocations: 16 kB / 1.357 GB, free: 3.254 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.473e-05/0.9992, allocations: 67.77 kB / 1.357 GB, free: 3.188 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.9993, allocations: 103.5 kB / 1.358 GB, free: 3.086 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.9996, allocations: 241.2 kB / 1.358 GB, free: 2.852 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.9996, allocations: 4 kB / 1.358 GB, free: 2.848 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9996, allocations: 4 kB / 1.358 GB, free: 2.844 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.9996, allocations: 0 / 1.358 GB, free: 2.844 MB / 1.076 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.0005096/1, allocations: 491.1 kB / 1.358 GB, free: 2.316 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/1, allocations: 8.031 kB / 1.358 GB, free: 2.309 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.101e-05/1, allocations: 58.73 kB / 1.358 GB, free: 2.242 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/1, allocations: 28.66 kB / 1.358 GB, free: 2.215 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/1.001, allocations: 267.9 kB / 1.359 GB, free: 1.914 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/1.001, allocations: 16.81 kB / 1.359 GB, free: 1.898 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/1.001, allocations: 20.38 kB / 1.359 GB, free: 1.879 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/1.001, allocations: 304.8 kB / 1.359 GB, free: 1.527 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/1.001, allocations: 7.875 kB / 1.359 GB, free: 1.52 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/1.001, allocations: 12 kB / 1.359 GB, free: 1.508 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/1.001, allocations: 8 kB / 1.359 GB, free: 1.5 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/1.001, allocations: 123.8 kB / 1.359 GB, free: 1.379 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/1.003, allocations: 1.965 MB / 1.361 GB, free: 15.3 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 8.129e-05/1.003, allocations: 165.1 kB / 1.361 GB, free: 15.13 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.419e-05/1.003, allocations: 88.06 kB / 1.361 GB, free: 15.04 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/1.003, allocations: 75.28 kB / 1.361 GB, free: 14.97 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.292e-05/1.003, allocations: 121.9 kB / 1.361 GB, free: 14.84 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/1.003, allocations: 0 / 1.361 GB, free: 14.84 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 0.0001009/1.003, allocations: 49.36 kB / 1.361 GB, free: 14.79 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/1.003, allocations: 130.7 kB / 1.362 GB, free: 14.64 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/1.003, allocations: 332.4 kB / 1.362 GB, free: 14.31 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/1.003, allocations: 25.7 kB / 1.362 GB, free: 14.28 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/1.004, allocations: 163.7 kB / 1.362 GB, free: 14.12 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-06/1.004, allocations: 4 kB / 1.362 GB, free: 14.11 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/1.004, allocations: 21.72 kB / 1.362 GB, free: 14.09 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001189/1.004, allocations: 338.8 kB / 1.362 GB, free: 13.75 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.122e-05/1.004, allocations: 8 kB / 1.362 GB, free: 13.74 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.362e-05/1.004, allocations: 58.8 kB / 1.363 GB, free: 13.66 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.46e-05/1.004, allocations: 66.75 kB / 1.363 GB, free: 13.57 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.004, allocations: 4 kB / 1.363 GB, free: 13.56 MB / 1.092 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001763/1.004, allocations: 105.3 kB / 1.363 GB, free: 13.45 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.004, allocations: 8 kB / 1.363 GB, free: 13.45 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/1.004, allocations: 3.938 kB / 1.363 GB, free: 13.44 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/1.004, allocations: 4 kB / 1.363 GB, free: 13.44 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.503e-05/1.004, allocations: 19.92 kB / 1.363 GB, free: 13.42 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/1.004, allocations: 256 / 1.363 GB, free: 13.42 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.496e-05/1.004, allocations: 27.69 kB / 1.363 GB, free: 13.39 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/1.004, allocations: 4 kB / 1.363 GB, free: 13.39 MB / 1.092 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.0001254/1.004, allocations: 209.1 kB / 1.363 GB, free: 13.17 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.829e-05/1.005, allocations: 128.6 kB / 1.363 GB, free: 13.04 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.73e-05/1.005, allocations: 130 kB / 1.363 GB, free: 12.9 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.852e-05/1.005, allocations: 184.2 kB / 1.363 GB, free: 12.71 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.809e-05/1.005, allocations: 180.3 kB / 1.364 GB, free: 12.53 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.015e-05/1.005, allocations: 184.2 kB / 1.364 GB, free: 12.34 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/1.005, allocations: 481.1 kB / 1.364 GB, free: 11.82 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-05/1.005, allocations: 101 kB / 1.364 GB, free: 11.71 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/1.005, allocations: 108.9 kB / 1.364 GB, free: 11.6 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.453e-05/1.005, allocations: 184.3 kB / 1.365 GB, free: 11.41 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.635e-05/1.005, allocations: 184.2 kB / 1.365 GB, free: 11.22 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.427e-05/1.005, allocations: 184.2 kB / 1.365 GB, free: 11.04 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.455e-05/1.005, allocations: 176.3 kB / 1.365 GB, free: 10.86 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/1.006, allocations: 335.5 kB / 1.365 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 9.99e-05/1.006, allocations: 205.8 kB / 1.366 GB, free: 10.28 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.497e-05/1.006, allocations: 184.1 kB / 1.366 GB, free: 10.09 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.168e-05/1.006, allocations: 101 kB / 1.366 GB, free: 9.984 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/1.006, allocations: 180.5 kB / 1.366 GB, free: 9.801 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/1.006, allocations: 105 kB / 1.366 GB, free: 9.691 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002147/1.006, allocations: 235 kB / 1.366 GB, free: 9.465 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.41e-07/1.006, allocations: 4 kB / 1.366 GB, free: 9.461 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002531/1.006, allocations: 31.94 kB / 1.366 GB, free: 9.43 MB / 1.092 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.000382/1.007, allocations: 0.8358 MB / 1.367 GB, free: 8.566 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 8.51e-05/1.007, allocations: 27.92 kB / 1.367 GB, free: 8.539 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.007, allocations: 0 / 1.367 GB, free: 8.539 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 3.507e-06/1.007, allocations: 4 kB / 1.367 GB, free: 8.535 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006553/1.008, allocations: 0.5163 MB / 1.368 GB, free: 8.016 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/1.01, allocations: 2.51 MB / 1.37 GB, free: 5.387 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/1.01, allocations: 0.748 MB / 1.371 GB, free: 4.613 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 9.149e-05/1.01, allocations: 26.28 kB / 1.371 GB, free: 4.586 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.872e-05/1.01, allocations: 59.42 kB / 1.371 GB, free: 4.527 MB / 1.092 GB Notification: Performance of SimCode: time 2.81e-07/1.01, allocations: 0 / 1.371 GB, free: 4.527 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/1.032, allocations: 4.874 MB / 1.376 GB, free: 15.81 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.33/8.362, allocations: 3.938 kB / 1.376 GB, free: 15.81 MB / 1.107 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