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.007355/0.007355, allocations: 100.9 kB / 15.73 MB, free: 5.562 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.001636/0.001636, allocations: 195.2 kB / 16.67 MB, free: 5.504 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.246/1.246, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.417/2.417, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 59.91 kB / 1.054 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7831/0.7845, allocations: 157.4 MB / 1.207 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1698/0.9543, allocations: 174 MB / 1.377 GB, free: 14.88 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.008504/0.9628, allocations: 9.518 MB / 1.387 GB, free: 5.324 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003399/0.9632, allocations: 8 kB / 1.387 GB, free: 5.316 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005847/0.9638, allocations: 190.6 kB / 1.387 GB, free: 5.129 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.9641, allocations: 91.31 kB / 1.387 GB, free: 5.039 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.9643, allocations: 67.92 kB / 1.387 GB, free: 4.973 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0003724/0.9647, allocations: 326.6 kB / 1.387 GB, free: 4.652 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003229/0.965, allocations: 212.8 kB / 1.387 GB, free: 4.441 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.9653, allocations: 163.4 kB / 1.388 GB, free: 4.281 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.9655, allocations: 123.5 kB / 1.388 GB, free: 4.16 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.9655, allocations: 24 kB / 1.388 GB, free: 4.137 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 3.273e-05/0.9655, allocations: 20 kB / 1.388 GB, free: 4.117 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 7.783e-05/0.9656, allocations: 75.75 kB / 1.388 GB, free: 4.043 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.9657, allocations: 131.3 kB / 1.388 GB, free: 3.914 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.966, allocations: 290.8 kB / 1.388 GB, free: 3.629 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.966, allocations: 3.938 kB / 1.388 GB, free: 3.625 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.513e-06/0.966, allocations: 0 / 1.388 GB, free: 3.625 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.966, allocations: 0 / 1.388 GB, free: 3.625 MB / 1.107 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.0004487/0.9665, allocations: 0.5107 MB / 1.389 GB, free: 3.066 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.9665, allocations: 12.03 kB / 1.389 GB, free: 3.055 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.202e-05/0.9666, allocations: 62.53 kB / 1.389 GB, free: 2.984 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.9666, allocations: 39.55 kB / 1.389 GB, free: 2.945 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.967, allocations: 278.5 kB / 1.389 GB, free: 2.633 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.967, allocations: 20.56 kB / 1.389 GB, free: 2.613 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.9671, allocations: 28 kB / 1.389 GB, free: 2.586 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003955/0.9675, allocations: 320 kB / 1.389 GB, free: 2.23 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.9675, allocations: 3.938 kB / 1.389 GB, free: 2.227 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.9675, allocations: 12 kB / 1.389 GB, free: 2.215 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.9675, allocations: 11.94 kB / 1.389 GB, free: 2.203 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.9677, allocations: 143.7 kB / 1.39 GB, free: 2.062 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.9688, allocations: 1.808 MB / 1.391 GB, free: 160 kB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 7.97e-05/0.9689, allocations: 177.1 kB / 1.392 GB, free: 15.97 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.658e-05/0.9689, allocations: 88.02 kB / 1.392 GB, free: 15.88 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.969, allocations: 75.28 kB / 1.392 GB, free: 15.81 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.969, allocations: 109.8 kB / 1.392 GB, free: 15.69 MB / 1.123 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.969, allocations: 0 / 1.392 GB, free: 15.69 MB / 1.123 GB Notification: Performance of matching and sorting (n=0): time 7.626e-05/0.9691, allocations: 49.42 kB / 1.392 GB, free: 15.64 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.9691, allocations: 130.7 kB / 1.392 GB, free: 15.5 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.9695, allocations: 373.6 kB / 1.392 GB, free: 15.12 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.9695, allocations: 25.7 kB / 1.392 GB, free: 15.09 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.9696, allocations: 163.9 kB / 1.393 GB, free: 14.93 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5e-06/0.9696, allocations: 11.98 kB / 1.393 GB, free: 14.92 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.9696, allocations: 13.72 kB / 1.393 GB, free: 14.9 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.9698, allocations: 338.8 kB / 1.393 GB, free: 14.56 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.41e-05/0.9698, allocations: 3.938 kB / 1.393 GB, free: 14.55 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.38e-05/0.9698, allocations: 36.3 kB / 1.393 GB, free: 14.5 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.229e-05/0.9699, allocations: 48.22 kB / 1.393 GB, free: 14.44 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9699, allocations: 0 / 1.393 GB, free: 14.44 MB / 1.123 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001349/0.97, allocations: 97.12 kB / 1.393 GB, free: 14.34 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.97, allocations: 8.156 kB / 1.393 GB, free: 14.33 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.97, allocations: 4 kB / 1.393 GB, free: 14.33 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.9701, allocations: 0 / 1.393 GB, free: 14.33 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.914e-05/0.9701, allocations: 12.12 kB / 1.393 GB, free: 14.32 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.9701, allocations: 0 / 1.393 GB, free: 14.32 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.403e-05/0.9702, allocations: 31.53 kB / 1.393 GB, free: 14.29 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.9702, allocations: 7.984 kB / 1.393 GB, free: 14.28 MB / 1.123 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.0001131/0.9703, allocations: 209.1 kB / 1.393 GB, free: 14.06 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.496e-05/0.9704, allocations: 144.6 kB / 1.393 GB, free: 13.91 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.743e-05/0.9705, allocations: 127 kB / 1.394 GB, free: 13.78 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.768e-05/0.9705, allocations: 180.2 kB / 1.394 GB, free: 13.6 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.051e-05/0.9706, allocations: 176.3 kB / 1.394 GB, free: 13.42 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.135e-05/0.9706, allocations: 184.3 kB / 1.394 GB, free: 13.23 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.9709, allocations: 493 kB / 1.395 GB, free: 12.69 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.788e-05/0.9709, allocations: 109 kB / 1.395 GB, free: 12.58 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.971, allocations: 108.9 kB / 1.395 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.115e-05/0.971, allocations: 176.4 kB / 1.395 GB, free: 12.29 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.9711, allocations: 180.2 kB / 1.395 GB, free: 12.1 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.236e-05/0.9712, allocations: 184.2 kB / 1.395 GB, free: 11.91 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.187e-05/0.9712, allocations: 188.2 kB / 1.395 GB, free: 11.72 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.9713, allocations: 327.4 kB / 1.396 GB, free: 11.38 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.9714, allocations: 213.7 kB / 1.396 GB, free: 11.14 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.318e-05/0.9715, allocations: 180.5 kB / 1.396 GB, free: 10.96 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.542e-05/0.9716, allocations: 101 kB / 1.396 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.9717, allocations: 200.2 kB / 1.396 GB, free: 10.65 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.9717, allocations: 105 kB / 1.397 GB, free: 10.54 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002285/0.972, allocations: 267.2 kB / 1.397 GB, free: 10.29 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/0.972, allocations: 0 / 1.397 GB, free: 10.29 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002413/0.9722, allocations: 31.94 kB / 1.397 GB, free: 10.25 MB / 1.123 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.0003369/0.9726, allocations: 0.8357 MB / 1.398 GB, free: 9.391 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 7.066e-05/0.9726, allocations: 19.94 kB / 1.398 GB, free: 9.371 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.9726, allocations: 0 / 1.398 GB, free: 9.371 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.9726, allocations: 0 / 1.398 GB, free: 9.371 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007358/0.9734, allocations: 0.548 MB / 1.398 GB, free: 8.82 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.9758, allocations: 2.687 MB / 1.401 GB, free: 6.035 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.9761, allocations: 0.7558 MB / 1.402 GB, free: 5.25 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001061/0.9762, allocations: 34.97 kB / 1.402 GB, free: 5.211 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.059e-05/0.9763, allocations: 75.41 kB / 1.402 GB, free: 5.137 MB / 1.123 GB Notification: Performance of SimCode: time 2.91e-07/0.9763, allocations: 0 / 1.402 GB, free: 5.137 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.9987, allocations: 6.009 MB / 1.408 GB, free: 15.32 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.597/8.596, allocations: 2.25 kB / 1.408 GB, free: 15.32 MB / 1.139 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