Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_11_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.004514/0.004514, allocations: 102.1 kB / 15.73 MB, free: 5.516 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.001299/0.001299, allocations: 202.1 kB / 16.68 MB, free: 5.445 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.23/1.23, allocations: 222.9 MB / 240.4 MB, free: 4.137 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.443/2.443, allocations: 469.8 MB / 0.7425 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 63.91 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2429, allocations: 159.1 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.6103/0.8532, allocations: 174 MB / 1.39 GB, free: 13.25 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.008694/0.8619, allocations: 9.512 MB / 1.399 GB, free: 5.547 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.8621, allocations: 11.22 kB / 1.399 GB, free: 5.543 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0004295/0.8625, allocations: 188.8 kB / 1.4 GB, free: 5.379 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.8627, allocations: 88.16 kB / 1.4 GB, free: 5.305 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.8629, allocations: 64.12 kB / 1.4 GB, free: 5.25 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.8632, allocations: 333.4 kB / 1.4 GB, free: 5.055 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/0.8635, allocations: 206.2 kB / 1.4 GB, free: 4.945 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/0.8638, allocations: 165 kB / 1.4 GB, free: 4.852 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.8639, allocations: 121.6 kB / 1.401 GB, free: 4.77 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.864, allocations: 21.28 kB / 1.401 GB, free: 4.77 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 3.525e-05/0.864, allocations: 21.09 kB / 1.401 GB, free: 4.77 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 8.341e-05/0.8641, allocations: 80.98 kB / 1.401 GB, free: 4.711 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.8642, allocations: 125.5 kB / 1.401 GB, free: 4.629 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.8645, allocations: 288 kB / 1.401 GB, free: 4.422 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.8645, allocations: 1.344 kB / 1.401 GB, free: 4.422 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8645, allocations: 4 kB / 1.401 GB, free: 4.418 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.8645, allocations: 0 / 1.401 GB, free: 4.418 MB / 1.092 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.0004701/0.865, allocations: 0.5264 MB / 1.402 GB, free: 3.91 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.865, allocations: 10.22 kB / 1.402 GB, free: 3.91 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.15e-05/0.8651, allocations: 63.34 kB / 1.402 GB, free: 3.848 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.8651, allocations: 35.16 kB / 1.402 GB, free: 3.828 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.8655, allocations: 279.6 kB / 1.402 GB, free: 3.555 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.8655, allocations: 19 kB / 1.402 GB, free: 3.543 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.8655, allocations: 29.19 kB / 1.402 GB, free: 3.531 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/0.8659, allocations: 330.8 kB / 1.402 GB, free: 3.266 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.866, allocations: 0.875 kB / 1.402 GB, free: 3.266 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.866, allocations: 12.12 kB / 1.402 GB, free: 3.258 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.866, allocations: 6.688 kB / 1.402 GB, free: 3.258 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.8662, allocations: 146.8 kB / 1.403 GB, free: 3.184 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.8674, allocations: 1.82 MB / 1.404 GB, free: 1.426 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 7.664e-05/0.8675, allocations: 169.1 kB / 1.404 GB, free: 1.25 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.302e-05/0.8675, allocations: 85.33 kB / 1.405 GB, free: 1.164 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.8676, allocations: 79.22 kB / 1.405 GB, free: 1.086 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.8676, allocations: 107.2 kB / 1.405 GB, free: 0.9727 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.8676, allocations: 0 / 1.405 GB, free: 0.9727 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 7.753e-05/0.8677, allocations: 61.88 kB / 1.405 GB, free: 0.918 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.8678, allocations: 131.8 kB / 1.405 GB, free: 0.7773 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.8681, allocations: 377.1 kB / 1.405 GB, free: 0.543 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.8681, allocations: 25.7 kB / 1.405 GB, free: 0.5117 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.8683, allocations: 166.1 kB / 1.405 GB, free: 368 kB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.8683, allocations: 0.9688 kB / 1.405 GB, free: 368 kB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.8683, allocations: 21.23 kB / 1.405 GB, free: 344 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.8684, allocations: 337.9 kB / 1.406 GB, free: 4 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.314e-05/0.8684, allocations: 7.266 kB / 1.406 GB, free: 0 / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.509e-05/0.8685, allocations: 38.52 kB / 1.406 GB, free: 15.95 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.887e-05/0.8685, allocations: 40.08 kB / 1.406 GB, free: 15.91 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.8686, allocations: 1.188 kB / 1.406 GB, free: 15.91 MB / 1.107 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000128/0.8687, allocations: 95.7 kB / 1.406 GB, free: 15.84 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.8687, allocations: 6.156 kB / 1.406 GB, free: 15.84 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.8687, allocations: 3.812 kB / 1.406 GB, free: 15.84 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.8687, allocations: 5.516 kB / 1.406 GB, free: 15.83 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.537e-05/0.8688, allocations: 7.391 kB / 1.406 GB, free: 15.83 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.8688, allocations: 9.312 kB / 1.406 GB, free: 15.82 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.689e-05/0.8689, allocations: 27.77 kB / 1.406 GB, free: 15.8 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.8689, allocations: 2.5 kB / 1.406 GB, free: 15.8 MB / 1.107 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.0001228/0.869, allocations: 214.2 kB / 1.406 GB, free: 15.6 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-05/0.8691, allocations: 134.5 kB / 1.406 GB, free: 15.47 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.671e-05/0.8692, allocations: 132 kB / 1.406 GB, free: 15.35 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.216e-05/0.8692, allocations: 181.3 kB / 1.407 GB, free: 15.16 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.105e-05/0.8693, allocations: 177.6 kB / 1.407 GB, free: 14.98 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.348e-05/0.8694, allocations: 185.4 kB / 1.407 GB, free: 14.8 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.8697, allocations: 487.4 kB / 1.407 GB, free: 14.3 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.893e-05/0.8697, allocations: 110.3 kB / 1.408 GB, free: 14.18 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.737e-05/0.8697, allocations: 101.1 kB / 1.408 GB, free: 14.08 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.699e-05/0.8698, allocations: 189.6 kB / 1.408 GB, free: 13.89 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.869e-05/0.8699, allocations: 190 kB / 1.408 GB, free: 13.7 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-05/0.87, allocations: 176.3 kB / 1.408 GB, free: 13.52 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.326e-05/0.87, allocations: 185.2 kB / 1.408 GB, free: 13.33 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.8702, allocations: 335.4 kB / 1.409 GB, free: 12.99 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.8703, allocations: 209.5 kB / 1.409 GB, free: 12.77 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.632e-05/0.8704, allocations: 182.6 kB / 1.409 GB, free: 12.59 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.8705, allocations: 104.9 kB / 1.409 GB, free: 12.48 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.8706, allocations: 178.2 kB / 1.409 GB, free: 12.3 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.8706, allocations: 106 kB / 1.409 GB, free: 12.19 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002377/0.8709, allocations: 270.8 kB / 1.41 GB, free: 12.02 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8709, allocations: 1.312 kB / 1.41 GB, free: 12.02 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002273/0.8711, allocations: 31.16 kB / 1.41 GB, free: 12.01 MB / 1.107 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.0003834/0.8715, allocations: 0.8387 MB / 1.411 GB, free: 11.18 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 5.618e-05/0.8715, allocations: 21.45 kB / 1.411 GB, free: 11.17 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.8716, allocations: 320 / 1.411 GB, free: 11.17 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.8716, allocations: 5.062 kB / 1.411 GB, free: 11.16 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007244/0.8723, allocations: 0.5471 MB / 1.411 GB, free: 10.66 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.8747, allocations: 2.699 MB / 1.414 GB, free: 8.629 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.875, allocations: 0.7505 MB / 1.414 GB, free: 7.898 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 7.787e-05/0.8751, allocations: 33 kB / 1.414 GB, free: 7.887 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.925e-05/0.8752, allocations: 76.34 kB / 1.415 GB, free: 7.824 MB / 1.107 GB Notification: Performance of SimCode: time 1.91e-07/0.8752, allocations: 0 / 1.415 GB, free: 7.824 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4177/1.293, allocations: 5.912 MB / 1.42 GB, free: 4.926 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.677/9.97, allocations: 19.69 kB / 1.42 GB, free: 4.91 MB / 1.107 GB (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches