Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.InletToAirMoistAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_9_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.001141/0.001141, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001184/0.001184, allocations: 195.3 kB / 16.26 MB, free: 6.621 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.319/1.319, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.114/2.114, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.536/0.5372, allocations: 140.4 MB / 0.9492 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.169/0.7062, allocations: 171.7 MB / 1.117 GB, free: 5.676 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008712/0.715, allocations: 9.43 MB / 1.126 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.7152, allocations: 11.94 kB / 1.126 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005006/0.7158, allocations: 163 kB / 1.126 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.716, allocations: 83.5 kB / 1.126 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.7162, allocations: 55.97 kB / 1.126 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003872/0.7166, allocations: 326.7 kB / 1.127 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.7169, allocations: 204.8 kB / 1.127 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003099/0.7172, allocations: 167.4 kB / 1.127 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.7174, allocations: 123.4 kB / 1.127 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.7174, allocations: 20 kB / 1.127 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.847e-05/0.7175, allocations: 24 kB / 1.127 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.062e-05/0.7176, allocations: 75.81 kB / 1.127 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.7177, allocations: 131.3 kB / 1.127 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.7179, allocations: 275 kB / 1.128 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.718, allocations: 0 / 1.128 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.272e-06/0.718, allocations: 0 / 1.128 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.718, allocations: 3.984 kB / 1.128 GB, free: 10.58 MB / 0.8887 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.0004735/0.7185, allocations: 0.5106 MB / 1.128 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.7185, allocations: 12.03 kB / 1.128 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.685e-05/0.7186, allocations: 62.53 kB / 1.128 GB, free: 9.941 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.7186, allocations: 31.66 kB / 1.128 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.7189, allocations: 270.4 kB / 1.129 GB, free: 9.605 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.7189, allocations: 20.56 kB / 1.129 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.719, allocations: 24 kB / 1.129 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/0.7194, allocations: 324 kB / 1.129 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.7194, allocations: 3.938 kB / 1.129 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.7194, allocations: 12 kB / 1.129 GB, free: 9.184 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.7195, allocations: 11.94 kB / 1.129 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.7197, allocations: 139.8 kB / 1.129 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.7209, allocations: 1.812 MB / 1.131 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.283e-05/0.721, allocations: 173.1 kB / 1.131 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.721, allocations: 84.08 kB / 1.131 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.721, allocations: 79.28 kB / 1.131 GB, free: 6.781 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.7211, allocations: 109.8 kB / 1.131 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.7211, allocations: 0 / 1.131 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 8.485e-05/0.7212, allocations: 53.33 kB / 1.131 GB, free: 6.605 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.7212, allocations: 142.6 kB / 1.131 GB, free: 6.453 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.7216, allocations: 369.7 kB / 1.132 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.7216, allocations: 29.7 kB / 1.132 GB, free: 6.051 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.7217, allocations: 163.8 kB / 1.132 GB, free: 5.887 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.7217, allocations: 0 / 1.132 GB, free: 5.887 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.7218, allocations: 17.72 kB / 1.132 GB, free: 5.863 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.7219, allocations: 338.8 kB / 1.132 GB, free: 5.523 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/0.7219, allocations: 11.98 kB / 1.132 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.963e-05/0.722, allocations: 36.39 kB / 1.132 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.328e-05/0.722, allocations: 52.23 kB / 1.132 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.722, allocations: 0 / 1.132 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001403/0.7222, allocations: 85.28 kB / 1.133 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.7222, allocations: 4 kB / 1.133 GB, free: 5.301 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.7222, allocations: 7.984 kB / 1.133 GB, free: 5.293 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.7222, allocations: 0 / 1.133 GB, free: 5.293 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.505e-05/0.7223, allocations: 11.94 kB / 1.133 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.7223, allocations: 0 / 1.133 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.477e-05/0.7224, allocations: 35.75 kB / 1.133 GB, free: 5.246 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.7224, allocations: 4 kB / 1.133 GB, free: 5.242 MB / 0.8887 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.0001204/0.7225, allocations: 209.1 kB / 1.133 GB, free: 5.027 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/0.7226, allocations: 136.6 kB / 1.133 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.772e-05/0.7227, allocations: 123 kB / 1.133 GB, free: 4.75 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.417e-05/0.7227, allocations: 184.2 kB / 1.133 GB, free: 4.562 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.427e-05/0.7228, allocations: 188.2 kB / 1.133 GB, free: 4.371 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.844e-05/0.7228, allocations: 176.3 kB / 1.134 GB, free: 4.191 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.7231, allocations: 493 kB / 1.134 GB, free: 3.652 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.092e-05/0.7232, allocations: 105 kB / 1.134 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.017e-05/0.7232, allocations: 101 kB / 1.134 GB, free: 3.438 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.161e-05/0.7233, allocations: 188.2 kB / 1.134 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.202e-05/0.7233, allocations: 176.4 kB / 1.135 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.238e-05/0.7234, allocations: 192.1 kB / 1.135 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.084e-05/0.7234, allocations: 176.3 kB / 1.135 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.7236, allocations: 335.3 kB / 1.135 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.7237, allocations: 217.8 kB / 1.135 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.028e-05/0.7238, allocations: 180.2 kB / 1.136 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.901e-05/0.7239, allocations: 101 kB / 1.136 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.7239, allocations: 180.3 kB / 1.136 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.724, allocations: 104.9 kB / 1.136 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002505/0.7242, allocations: 271.2 kB / 1.136 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7242, allocations: 4 kB / 1.136 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002693/0.7245, allocations: 31.94 kB / 1.136 GB, free: 1.227 MB / 0.8887 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.0003398/0.7248, allocations: 0.836 MB / 1.137 GB, free: 372 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 6.261e-05/0.7249, allocations: 23.98 kB / 1.137 GB, free: 348 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7249, allocations: 0 / 1.137 GB, free: 348 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-06/0.7249, allocations: 3.938 kB / 1.137 GB, free: 344 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008144/0.7258, allocations: 0.5488 MB / 1.138 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.7283, allocations: 2.745 MB / 1.14 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.7287, allocations: 0.7596 MB / 1.141 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001127/0.7288, allocations: 30.97 kB / 1.141 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.564e-05/0.7289, allocations: 75.41 kB / 1.141 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of SimCode: time 2.9e-07/0.7289, allocations: 0 / 1.141 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2354/0.9643, allocations: 5.728 MB / 1.147 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.9645, allocations: 218.2 kB / 1.147 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/3.208, allocations: 4 kB / 1.147 GB, free: 6.242 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches