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: translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 107.2 kB / 16.27 MB, free: 6.355 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.001578/0.001578, allocations: 192.6 kB / 17.2 MB, free: 5.953 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.521/1.521, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.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.818/2.818, allocations: 437.1 MB / 0.7111 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 76.03 kB / 0.8699 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3872, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.8593/1.247, allocations: 174.1 MB / 1.188 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0166/1.263, allocations: 9.52 MB / 1.197 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006045/1.264, allocations: 9.312 kB / 1.197 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/1.265, allocations: 190.6 kB / 1.197 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006179/1.266, allocations: 96.77 kB / 1.198 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/1.266, allocations: 58.77 kB / 1.198 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007395/1.267, allocations: 337.3 kB / 1.198 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005626/1.267, allocations: 197.2 kB / 1.198 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005479/1.268, allocations: 162.2 kB / 1.198 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/1.268, allocations: 124 kB / 1.198 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.643e-05/1.268, allocations: 23.66 kB / 1.198 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.26e-05/1.268, allocations: 21.12 kB / 1.198 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/1.268, allocations: 76.22 kB / 1.198 GB, free: 10 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002025/1.269, allocations: 128.4 kB / 1.199 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004602/1.269, allocations: 280.8 kB / 1.199 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.269, allocations: 0 / 1.199 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.204e-06/1.269, allocations: 1.562 kB / 1.199 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.404e-05/1.269, allocations: 0 / 1.199 GB, free: 9.711 MB / 0.9044 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.0009474/1.27, allocations: 0.5099 MB / 1.199 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/1.27, allocations: 10.08 kB / 1.199 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.32e-05/1.27, allocations: 31.03 kB / 1.199 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/1.271, allocations: 272.2 kB / 1.2 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/1.271, allocations: 21.66 kB / 1.2 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/1.271, allocations: 28.89 kB / 1.2 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008088/1.272, allocations: 327 kB / 1.2 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/1.272, allocations: 0 / 1.2 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/1.272, allocations: 12.97 kB / 1.2 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/1.272, allocations: 9 kB / 1.2 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00034/1.272, allocations: 147.1 kB / 1.2 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/1.274, allocations: 1.813 MB / 1.202 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/1.274, allocations: 169.1 kB / 1.202 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.684e-05/1.275, allocations: 93.48 kB / 1.202 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.529e-05/1.275, allocations: 75.28 kB / 1.202 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.612e-05/1.275, allocations: 112.1 kB / 1.202 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/1.275, allocations: 0 / 1.202 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001673/1.275, allocations: 57.61 kB / 1.202 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.196e-05/1.275, allocations: 126.7 kB / 1.203 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006604/1.276, allocations: 378 kB / 1.203 GB, free: 5.934 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/1.276, allocations: 25.7 kB / 1.203 GB, free: 5.902 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/1.276, allocations: 169.8 kB / 1.203 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.819e-06/1.276, allocations: 1.281 kB / 1.203 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/1.276, allocations: 18.16 kB / 1.203 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002031/1.276, allocations: 336.7 kB / 1.203 GB, free: 5.395 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/1.276, allocations: 2.688 kB / 1.203 GB, free: 5.395 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-05/1.276, allocations: 42 kB / 1.204 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.154e-05/1.276, allocations: 40.48 kB / 1.204 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/1.276, allocations: 6.438 kB / 1.204 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002339/1.277, allocations: 89 kB / 1.204 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.277, allocations: 4.812 kB / 1.204 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/1.277, allocations: 0 / 1.204 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/1.277, allocations: 2.062 kB / 1.204 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.521e-05/1.277, allocations: 11.72 kB / 1.204 GB, free: 5.227 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/1.277, allocations: 6.266 kB / 1.204 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/1.277, allocations: 31.41 kB / 1.204 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/1.277, allocations: 2.938 kB / 1.204 GB, free: 5.199 MB / 0.9044 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.0002192/1.277, allocations: 213.6 kB / 1.204 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/1.277, allocations: 132.8 kB / 1.204 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/1.277, allocations: 137 kB / 1.204 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001839/1.278, allocations: 178.2 kB / 1.204 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001064/1.278, allocations: 180.2 kB / 1.204 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.596e-05/1.278, allocations: 186.8 kB / 1.205 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006902/1.279, allocations: 485.9 kB / 1.205 GB, free: 3.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001488/1.279, allocations: 107.5 kB / 1.205 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.418e-05/1.279, allocations: 104.9 kB / 1.205 GB, free: 3.461 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.743e-05/1.279, allocations: 180.2 kB / 1.206 GB, free: 3.277 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.856e-05/1.279, allocations: 183.1 kB / 1.206 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.569e-05/1.279, allocations: 188.3 kB / 1.206 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.201e-05/1.279, allocations: 180.4 kB / 1.206 GB, free: 2.719 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/1.28, allocations: 334.5 kB / 1.206 GB, free: 2.383 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/1.28, allocations: 215.8 kB / 1.207 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/1.28, allocations: 180.3 kB / 1.207 GB, free: 1.973 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/1.28, allocations: 111.5 kB / 1.207 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.74e-05/1.28, allocations: 176.3 kB / 1.207 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.113e-05/1.28, allocations: 110.8 kB / 1.207 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003811/1.281, allocations: 270.9 kB / 1.207 GB, free: 1.402 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/1.281, allocations: 0 / 1.207 GB, free: 1.402 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004554/1.281, allocations: 31.66 kB / 1.207 GB, free: 1.398 MB / 0.9044 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.0002257/1.281, allocations: 176 kB / 1.208 GB, free: 1.23 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001057/1.281, allocations: 19.67 kB / 1.208 GB, free: 1.219 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.281, allocations: 0 / 1.208 GB, free: 1.219 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.434e-06/1.281, allocations: 2.188 kB / 1.208 GB, free: 1.219 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/1.283, allocations: 0.5489 MB / 1.208 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009062/1.284, allocations: 478.6 kB / 1.209 GB, free: 348 kB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005388/1.284, allocations: 0.7566 MB / 1.209 GB, free: 15.6 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/1.284, allocations: 19.97 kB / 1.209 GB, free: 15.6 MB / 0.92 GB Notification: Performance of SimCode: time 4.01e-07/1.284, allocations: 0 / 1.209 GB, free: 15.6 MB / 0.92 GB Notification: Performance of Templates: time 0.007854/1.292, allocations: 3.117 MB / 1.212 GB, free: 14.01 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (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 & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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