Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.InletToAirDryAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_9_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.007138/0.007138, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001917/0.001917, allocations: 186.1 kB / 16.67 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.231/2.231, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 70.92 kB / 0.9504 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2118, allocations: 140.4 MB / 1.088 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1267/0.3386, allocations: 148 MB / 1.232 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003993/0.3426, allocations: 4.654 MB / 1.237 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.3428, allocations: 8 kB / 1.237 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.3432, allocations: 170.8 kB / 1.237 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.3435, allocations: 83.44 kB / 1.237 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.3436, allocations: 63.92 kB / 1.237 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.3439, allocations: 298.8 kB / 1.237 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/0.3441, allocations: 159.6 kB / 1.237 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.3443, allocations: 111.5 kB / 1.237 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.3445, allocations: 147.5 kB / 1.238 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.3445, allocations: 16 kB / 1.238 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.525e-05/0.3445, allocations: 16 kB / 1.238 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.757e-05/0.3446, allocations: 67.83 kB / 1.238 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.963e-05/0.3447, allocations: 107.4 kB / 1.238 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.3449, allocations: 238.7 kB / 1.238 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3449, allocations: 0 / 1.238 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3449, allocations: 0 / 1.238 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.3449, allocations: 0 / 1.238 GB, free: 7.273 MB / 0.9981 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.0003939/0.3453, allocations: 499 kB / 1.238 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.3454, allocations: 8.031 kB / 1.238 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.02e-05/0.3454, allocations: 58.73 kB / 1.239 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.3455, allocations: 24.66 kB / 1.239 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.3458, allocations: 263.9 kB / 1.239 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.3458, allocations: 20.81 kB / 1.239 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.3458, allocations: 24.31 kB / 1.239 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.3462, allocations: 304.9 kB / 1.239 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3462, allocations: 7.938 kB / 1.239 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.3462, allocations: 12 kB / 1.239 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.3462, allocations: 4 kB / 1.239 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.3464, allocations: 119.8 kB / 1.239 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.3474, allocations: 1.969 MB / 1.241 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.158e-05/0.3475, allocations: 169.1 kB / 1.241 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.3475, allocations: 84.14 kB / 1.241 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.3475, allocations: 79.28 kB / 1.242 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.3476, allocations: 105.8 kB / 1.242 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3476, allocations: 3.938 kB / 1.242 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.648e-05/0.3477, allocations: 57.34 kB / 1.242 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.3477, allocations: 126.7 kB / 1.242 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.348, allocations: 336.5 kB / 1.242 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.348, allocations: 29.64 kB / 1.242 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.311e-05/0.3481, allocations: 163.7 kB / 1.242 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.878e-06/0.3481, allocations: 4 kB / 1.242 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.3482, allocations: 21.62 kB / 1.242 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.143e-05/0.3483, allocations: 334.8 kB / 1.243 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.3483, allocations: 8 kB / 1.243 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-05/0.3483, allocations: 58.86 kB / 1.243 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.45e-05/0.3484, allocations: 70.75 kB / 1.243 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3484, allocations: 0 / 1.243 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001391/0.3485, allocations: 105.2 kB / 1.243 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3486, allocations: 9.969 kB / 1.243 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3486, allocations: 8.094 kB / 1.243 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3486, allocations: 4 kB / 1.243 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.285e-05/0.3487, allocations: 15.94 kB / 1.243 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3487, allocations: 3.984 kB / 1.243 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.472e-05/0.3487, allocations: 27.67 kB / 1.243 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.3487, allocations: 4 kB / 1.243 GB, free: 1.809 MB / 0.9981 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.0001015/0.3489, allocations: 209.1 kB / 1.243 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.3489, allocations: 132.7 kB / 1.243 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.347e-05/0.349, allocations: 130 kB / 1.243 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.685e-05/0.349, allocations: 188.2 kB / 1.244 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.246e-05/0.3491, allocations: 176.3 kB / 1.244 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-05/0.3491, allocations: 180.2 kB / 1.244 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.3494, allocations: 477.1 kB / 1.244 GB, free: 248 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-05/0.3494, allocations: 109 kB / 1.244 GB, free: 132 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.3494, allocations: 108.9 kB / 1.245 GB, free: 16 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.615e-05/0.3495, allocations: 184.3 kB / 1.245 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.904e-05/0.3495, allocations: 188.1 kB / 1.245 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.306e-05/0.3496, allocations: 176.3 kB / 1.245 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.287e-05/0.3496, allocations: 176.3 kB / 1.245 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.3498, allocations: 335.5 kB / 1.246 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.88e-05/0.3499, allocations: 202 kB / 1.246 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.3499, allocations: 188.2 kB / 1.246 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.508e-05/0.35, allocations: 105 kB / 1.246 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.3501, allocations: 184.2 kB / 1.246 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.3501, allocations: 105 kB / 1.246 GB, free: 14.11 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001923/0.3503, allocations: 239 kB / 1.247 GB, free: 13.87 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3503, allocations: 0 / 1.247 GB, free: 13.87 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002389/0.3506, allocations: 27.94 kB / 1.247 GB, free: 13.84 MB / 1.014 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.0003017/0.3509, allocations: 0.8357 MB / 1.247 GB, free: 12.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.033e-05/0.3509, allocations: 27.92 kB / 1.247 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3509, allocations: 0 / 1.247 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.3509, allocations: 0 / 1.247 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005996/0.3516, allocations: 0.5085 MB / 1.248 GB, free: 12.44 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.3535, allocations: 2.514 MB / 1.25 GB, free: 9.805 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.3538, allocations: 0.7518 MB / 1.251 GB, free: 9.027 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.909e-05/0.3538, allocations: 26.28 kB / 1.251 GB, free: 9.004 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.477e-05/0.3539, allocations: 59.42 kB / 1.251 GB, free: 8.945 MB / 1.014 GB Notification: Performance of SimCode: time 2.1e-07/0.3539, allocations: 0 / 1.251 GB, free: 8.945 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3105/0.6644, allocations: 4.806 MB / 1.256 GB, free: 4.285 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.895/9.559, allocations: 7.562 kB / 1.256 GB, free: 4.281 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches