Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.InletToAirMoistAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_latest_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.00704/0.00704, allocations: 99.31 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.001611/0.001611, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.679/2.679, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 55.91 kB / 1.054 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3079, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.8729/1.181, allocations: 174.1 MB / 1.377 GB, free: 12.08 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01049/1.191, allocations: 9.51 MB / 1.387 GB, free: 4.746 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004453/1.192, allocations: 10.66 kB / 1.387 GB, free: 4.742 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007291/1.193, allocations: 193.7 kB / 1.387 GB, free: 4.574 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004117/1.193, allocations: 87.56 kB / 1.387 GB, free: 4.5 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/1.193, allocations: 68.72 kB / 1.387 GB, free: 4.441 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005529/1.194, allocations: 325.8 kB / 1.387 GB, free: 4.254 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004076/1.194, allocations: 203.7 kB / 1.387 GB, free: 4.141 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000465/1.195, allocations: 174.8 kB / 1.388 GB, free: 4.039 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/1.195, allocations: 112.9 kB / 1.388 GB, free: 3.965 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.111e-05/1.195, allocations: 21.88 kB / 1.388 GB, free: 3.965 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.25e-05/1.195, allocations: 21.38 kB / 1.388 GB, free: 3.965 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/1.195, allocations: 76.88 kB / 1.388 GB, free: 3.91 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001654/1.195, allocations: 125 kB / 1.388 GB, free: 3.828 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003611/1.196, allocations: 299.1 kB / 1.388 GB, free: 3.609 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.196, allocations: 1.094 kB / 1.388 GB, free: 3.609 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.452e-06/1.196, allocations: 0 / 1.388 GB, free: 3.609 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.297e-05/1.196, allocations: 0 / 1.388 GB, free: 3.609 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006536/1.197, allocations: 0.5216 MB / 1.389 GB, free: 3.109 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/1.197, allocations: 9.75 kB / 1.389 GB, free: 3.109 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.055e-05/1.197, allocations: 60.23 kB / 1.389 GB, free: 3.051 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.506e-05/1.197, allocations: 34.34 kB / 1.389 GB, free: 3.031 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004411/1.197, allocations: 276.8 kB / 1.389 GB, free: 2.758 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/1.197, allocations: 19.38 kB / 1.389 GB, free: 2.75 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/1.197, allocations: 24.59 kB / 1.389 GB, free: 2.742 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004758/1.198, allocations: 326.8 kB / 1.389 GB, free: 2.48 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/1.198, allocations: 1.125 kB / 1.389 GB, free: 2.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/1.198, allocations: 11.75 kB / 1.389 GB, free: 2.473 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/1.198, allocations: 8.125 kB / 1.389 GB, free: 2.473 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002466/1.198, allocations: 145.8 kB / 1.39 GB, free: 2.398 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/1.199, allocations: 1.826 MB / 1.391 GB, free: 0.6328 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.504e-05/1.2, allocations: 170.5 kB / 1.392 GB, free: 468 kB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.926e-05/1.2, allocations: 80.14 kB / 1.392 GB, free: 384 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/1.2, allocations: 88.62 kB / 1.392 GB, free: 296 kB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/1.2, allocations: 105.8 kB / 1.392 GB, free: 180 kB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/1.2, allocations: 0 / 1.392 GB, free: 180 kB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0001071/1.2, allocations: 50.52 kB / 1.392 GB, free: 136 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/1.2, allocations: 128.2 kB / 1.392 GB, free: 16 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004364/1.2, allocations: 376.6 kB / 1.392 GB, free: 15.76 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/1.2, allocations: 29.7 kB / 1.392 GB, free: 15.73 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/1.2, allocations: 169.9 kB / 1.393 GB, free: 15.57 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-06/1.2, allocations: 1.062 kB / 1.393 GB, free: 15.57 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/1.2, allocations: 17.69 kB / 1.393 GB, free: 15.55 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.201, allocations: 337.4 kB / 1.393 GB, free: 15.22 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/1.201, allocations: 3.281 kB / 1.393 GB, free: 15.22 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.343e-05/1.201, allocations: 38.28 kB / 1.393 GB, free: 15.17 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.661e-05/1.201, allocations: 44.33 kB / 1.393 GB, free: 15.12 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.201, allocations: 1.562 kB / 1.393 GB, free: 15.12 MB / 1.092 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001801/1.201, allocations: 94.88 kB / 1.393 GB, free: 15.05 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/1.201, allocations: 6.562 kB / 1.393 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.201, allocations: 1.375 kB / 1.393 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/1.201, allocations: 1.375 kB / 1.393 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/1.201, allocations: 11.77 kB / 1.393 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/1.201, allocations: 1.094 kB / 1.393 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.285e-05/1.201, allocations: 31.38 kB / 1.393 GB, free: 15.02 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/1.201, allocations: 3.625 kB / 1.393 GB, free: 15.02 MB / 1.092 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.0001442/1.201, allocations: 218.5 kB / 1.393 GB, free: 14.81 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.238e-05/1.201, allocations: 130.1 kB / 1.393 GB, free: 14.69 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.413e-05/1.202, allocations: 124.4 kB / 1.394 GB, free: 14.57 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.304e-05/1.202, allocations: 185.5 kB / 1.394 GB, free: 14.38 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.115e-05/1.202, allocations: 177 kB / 1.394 GB, free: 14.2 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.756e-05/1.202, allocations: 181.2 kB / 1.394 GB, free: 14.02 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/1.202, allocations: 499.6 kB / 1.395 GB, free: 13.51 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-05/1.202, allocations: 107.4 kB / 1.395 GB, free: 13.4 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/1.202, allocations: 105.1 kB / 1.395 GB, free: 13.29 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.758e-05/1.202, allocations: 181.4 kB / 1.395 GB, free: 13.11 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/1.202, allocations: 189.3 kB / 1.395 GB, free: 12.91 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.286e-05/1.202, allocations: 185.4 kB / 1.395 GB, free: 12.73 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-05/1.202, allocations: 177.4 kB / 1.395 GB, free: 12.55 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/1.203, allocations: 323.5 kB / 1.396 GB, free: 12.22 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/1.203, allocations: 225.2 kB / 1.396 GB, free: 11.98 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.645e-05/1.203, allocations: 181.6 kB / 1.396 GB, free: 11.8 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/1.203, allocations: 106.2 kB / 1.396 GB, free: 11.69 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/1.203, allocations: 182.2 kB / 1.396 GB, free: 11.51 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/1.203, allocations: 102.4 kB / 1.396 GB, free: 11.4 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002611/1.203, allocations: 270.9 kB / 1.397 GB, free: 11.23 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.203, allocations: 0 / 1.397 GB, free: 11.23 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002805/1.204, allocations: 30.91 kB / 1.397 GB, free: 11.23 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.0003899/1.204, allocations: 0.8391 MB / 1.398 GB, free: 10.4 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 7.926e-05/1.204, allocations: 12.06 kB / 1.398 GB, free: 10.39 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.204, allocations: 1.062 kB / 1.398 GB, free: 10.39 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/1.204, allocations: 0 / 1.398 GB, free: 10.39 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008105/1.205, allocations: 0.5511 MB / 1.398 GB, free: 9.895 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/1.208, allocations: 2.695 MB / 1.401 GB, free: 7.871 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/1.208, allocations: 0.7543 MB / 1.402 GB, free: 7.137 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001359/1.208, allocations: 32.69 kB / 1.402 GB, free: 7.121 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.582e-05/1.208, allocations: 72.14 kB / 1.402 GB, free: 7.062 MB / 1.092 GB Notification: Performance of SimCode: time 3.11e-07/1.208, allocations: 0 / 1.402 GB, free: 7.062 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/1.232, allocations: 6.01 MB / 1.407 GB, free: 4.117 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.497/8.728, allocations: 8.594 kB / 1.408 GB, free: 4.113 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches