Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_10_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.008879/0.008879, allocations: 99.95 kB / 15.73 MB, free: 6.473 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.001805/0.001805, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.541/2.541, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.91 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2815, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.816/1.098, allocations: 174 MB / 1.336 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0112/1.109, allocations: 9.505 MB / 1.345 GB, free: 7.812 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004213/1.109, allocations: 11.44 kB / 1.345 GB, free: 7.809 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006974/1.11, allocations: 190.9 kB / 1.346 GB, free: 7.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000394/1.11, allocations: 93.83 kB / 1.346 GB, free: 7.617 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/1.111, allocations: 63.11 kB / 1.346 GB, free: 7.586 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005235/1.111, allocations: 343.7 kB / 1.346 GB, free: 7.414 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003928/1.112, allocations: 201.9 kB / 1.346 GB, free: 7.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004934/1.112, allocations: 166 kB / 1.346 GB, free: 7.246 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/1.112, allocations: 125.8 kB / 1.347 GB, free: 7.176 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.931e-05/1.112, allocations: 21.31 kB / 1.347 GB, free: 7.176 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.409e-05/1.113, allocations: 22.41 kB / 1.347 GB, free: 7.176 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/1.113, allocations: 76.61 kB / 1.347 GB, free: 7.137 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001621/1.113, allocations: 127.8 kB / 1.347 GB, free: 7.059 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003409/1.113, allocations: 293 kB / 1.347 GB, free: 6.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/1.113, allocations: 0 / 1.347 GB, free: 6.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.114e-06/1.113, allocations: 2.484 kB / 1.347 GB, free: 6.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.29e-05/1.113, allocations: 1.344 kB / 1.347 GB, free: 6.93 MB / 1.029 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.000662/1.114, allocations: 0.5115 MB / 1.348 GB, free: 6.461 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/1.114, allocations: 9.719 kB / 1.348 GB, free: 6.461 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.208e-05/1.114, allocations: 67.48 kB / 1.348 GB, free: 6.402 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.552e-05/1.114, allocations: 34.62 kB / 1.348 GB, free: 6.383 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004586/1.115, allocations: 276.7 kB / 1.348 GB, free: 6.137 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/1.115, allocations: 17.91 kB / 1.348 GB, free: 6.129 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/1.115, allocations: 25.97 kB / 1.348 GB, free: 6.121 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/1.115, allocations: 325.6 kB / 1.348 GB, free: 5.895 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/1.115, allocations: 1.125 kB / 1.348 GB, free: 5.895 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/1.115, allocations: 10.75 kB / 1.348 GB, free: 5.887 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/1.115, allocations: 7.906 kB / 1.348 GB, free: 5.887 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/1.115, allocations: 152.4 kB / 1.348 GB, free: 5.824 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/1.117, allocations: 1.813 MB / 1.35 GB, free: 4.191 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.057e-05/1.117, allocations: 182.2 kB / 1.35 GB, free: 4.004 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.678e-05/1.117, allocations: 80.14 kB / 1.351 GB, free: 3.922 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/1.117, allocations: 79.22 kB / 1.351 GB, free: 3.844 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/1.117, allocations: 107 kB / 1.351 GB, free: 3.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/1.117, allocations: 0 / 1.351 GB, free: 3.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.547e-05/1.117, allocations: 57.34 kB / 1.351 GB, free: 3.684 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/1.117, allocations: 130.7 kB / 1.351 GB, free: 3.543 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003874/1.118, allocations: 377.7 kB / 1.351 GB, free: 3.352 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/1.118, allocations: 25.7 kB / 1.351 GB, free: 3.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/1.118, allocations: 163.1 kB / 1.351 GB, free: 3.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/1.118, allocations: 0 / 1.351 GB, free: 3.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/1.118, allocations: 20.23 kB / 1.351 GB, free: 3.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001119/1.118, allocations: 339.5 kB / 1.352 GB, free: 2.836 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/1.118, allocations: 3.031 kB / 1.352 GB, free: 2.836 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.373e-05/1.118, allocations: 39.55 kB / 1.352 GB, free: 2.789 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.927e-05/1.118, allocations: 48.64 kB / 1.352 GB, free: 2.734 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.118, allocations: 1.094 kB / 1.352 GB, free: 2.734 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001692/1.118, allocations: 95.12 kB / 1.352 GB, free: 2.672 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.118, allocations: 8 kB / 1.352 GB, free: 2.672 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.118, allocations: 1.281 kB / 1.352 GB, free: 2.672 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.118, allocations: 1.375 kB / 1.352 GB, free: 2.672 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/1.118, allocations: 12.83 kB / 1.352 GB, free: 2.668 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.118, allocations: 2.312 kB / 1.352 GB, free: 2.668 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.411e-05/1.118, allocations: 30.75 kB / 1.352 GB, free: 2.645 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/1.118, allocations: 7 kB / 1.352 GB, free: 2.641 MB / 1.029 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.0001312/1.119, allocations: 210.6 kB / 1.352 GB, free: 2.441 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.873e-05/1.119, allocations: 133.7 kB / 1.352 GB, free: 2.316 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.361e-05/1.119, allocations: 134.3 kB / 1.352 GB, free: 2.191 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.356e-05/1.119, allocations: 177.4 kB / 1.353 GB, free: 2.012 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.803e-05/1.119, allocations: 183.2 kB / 1.353 GB, free: 1.828 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.802e-05/1.119, allocations: 181.1 kB / 1.353 GB, free: 1.645 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/1.119, allocations: 488.8 kB / 1.353 GB, free: 1.176 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.75e-05/1.119, allocations: 110.5 kB / 1.354 GB, free: 1.062 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.251e-05/1.119, allocations: 101 kB / 1.354 GB, free: 0.957 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.475e-05/1.119, allocations: 184 kB / 1.354 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-05/1.119, allocations: 189.3 kB / 1.354 GB, free: 0.582 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.444e-05/1.12, allocations: 181.2 kB / 1.354 GB, free: 408 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.548e-05/1.12, allocations: 184.8 kB / 1.354 GB, free: 220 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/1.12, allocations: 322.6 kB / 1.355 GB, free: 15.89 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/1.12, allocations: 223.2 kB / 1.355 GB, free: 15.66 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.635e-05/1.12, allocations: 179.8 kB / 1.355 GB, free: 15.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/1.12, allocations: 106.2 kB / 1.355 GB, free: 15.37 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/1.12, allocations: 177.2 kB / 1.355 GB, free: 15.19 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/1.12, allocations: 102.1 kB / 1.355 GB, free: 15.09 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002802/1.121, allocations: 275.6 kB / 1.356 GB, free: 14.95 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.11e-07/1.121, allocations: 5.594 kB / 1.356 GB, free: 14.94 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000277/1.121, allocations: 30.28 kB / 1.356 GB, free: 14.94 MB / 1.045 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.0004124/1.121, allocations: 0.8294 MB / 1.357 GB, free: 14.12 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.459e-05/1.121, allocations: 24.06 kB / 1.357 GB, free: 14.11 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.121, allocations: 0 / 1.357 GB, free: 14.11 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/1.121, allocations: 0 / 1.357 GB, free: 14.11 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008373/1.122, allocations: 0.5513 MB / 1.357 GB, free: 13.62 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/1.125, allocations: 2.686 MB / 1.36 GB, free: 11.79 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/1.126, allocations: 0.7533 MB / 1.36 GB, free: 11.08 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001084/1.126, allocations: 30.31 kB / 1.36 GB, free: 11.08 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.426e-05/1.126, allocations: 74 kB / 1.361 GB, free: 11.02 MB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/1.126, allocations: 1.281 kB / 1.361 GB, free: 11.02 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/1.151, allocations: 5.921 MB / 1.366 GB, free: 10.01 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.924/9.075, allocations: 9.234 kB / 1.366 GB, free: 10 MB / 1.045 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches