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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 99.19 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 186 kB / 16.92 MB, free: 6.703 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.396/1.396, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.411/2.411, allocations: 390.9 MB / 0.667 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003657, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6601/0.6605, allocations: 142.4 MB / 0.9557 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1646/0.8252, allocations: 143.9 MB / 1.096 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004891/0.8301, allocations: 4.561 MB / 1.101 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003007/0.8305, allocations: 8 kB / 1.101 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005029/0.831, allocations: 131.1 kB / 1.101 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000303/0.8313, allocations: 79.56 kB / 1.101 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.8314, allocations: 55.95 kB / 1.101 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000397/0.8319, allocations: 366.5 kB / 1.101 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.8321, allocations: 132.1 kB / 1.101 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.8323, allocations: 91.52 kB / 1.102 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.8325, allocations: 139.4 kB / 1.102 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.8325, allocations: 4 kB / 1.102 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.285e-05/0.8326, allocations: 8 kB / 1.102 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.797e-05/0.8326, allocations: 43.83 kB / 1.102 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.8328, allocations: 117.1 kB / 1.102 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.8329, allocations: 169.5 kB / 1.102 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.8329, allocations: 3.984 kB / 1.102 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.954e-06/0.833, allocations: 0 / 1.102 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.833, allocations: 0 / 1.102 GB, free: 9.086 MB / 0.8575 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.0004602/0.8334, allocations: 448.8 kB / 1.102 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.8335, allocations: 8.031 kB / 1.102 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.8335, allocations: 24.66 kB / 1.102 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.8338, allocations: 259.8 kB / 1.103 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.8339, allocations: 16.81 kB / 1.103 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.8339, allocations: 32.36 kB / 1.103 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004365/0.8344, allocations: 298.6 kB / 1.103 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.8344, allocations: 3.938 kB / 1.103 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.8344, allocations: 12 kB / 1.103 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.8344, allocations: 8 kB / 1.103 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.8346, allocations: 123.7 kB / 1.103 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.836, allocations: 1.973 MB / 1.105 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.206e-05/0.8361, allocations: 173.1 kB / 1.105 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.771e-05/0.8361, allocations: 84.14 kB / 1.105 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.8362, allocations: 75.28 kB / 1.105 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/0.8362, allocations: 113.8 kB / 1.106 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 2.625e-06/0.8362, allocations: 0 / 1.106 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.903e-05/0.8363, allocations: 57.3 kB / 1.106 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.8364, allocations: 130.6 kB / 1.106 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/0.8368, allocations: 332.5 kB / 1.106 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.8368, allocations: 25.7 kB / 1.106 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.8369, allocations: 159.7 kB / 1.106 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.09e-06/0.8369, allocations: 8 kB / 1.106 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.8369, allocations: 9.719 kB / 1.106 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.8371, allocations: 334.8 kB / 1.107 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.8371, allocations: 11.98 kB / 1.107 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.987e-05/0.8372, allocations: 54.86 kB / 1.107 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.854e-05/0.8372, allocations: 74.73 kB / 1.107 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8373, allocations: 4 kB / 1.107 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001827/0.8374, allocations: 101.2 kB / 1.107 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.8375, allocations: 4 kB / 1.107 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.8375, allocations: 4 kB / 1.107 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.8375, allocations: 3.938 kB / 1.107 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-05/0.8376, allocations: 15.98 kB / 1.107 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.8376, allocations: 4.25 kB / 1.107 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.294e-05/0.8377, allocations: 31.69 kB / 1.107 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.8377, allocations: 4 kB / 1.107 GB, free: 3.738 MB / 0.8575 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.000139/0.8378, allocations: 213 kB / 1.107 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.391e-05/0.8379, allocations: 124.7 kB / 1.107 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.224e-05/0.838, allocations: 126 kB / 1.107 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.721e-05/0.8381, allocations: 180.2 kB / 1.107 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.915e-05/0.8381, allocations: 188.3 kB / 1.108 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.343e-05/0.8382, allocations: 184.2 kB / 1.108 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.8385, allocations: 469.1 kB / 1.108 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.932e-05/0.8385, allocations: 105 kB / 1.108 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.8386, allocations: 108.9 kB / 1.108 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.615e-05/0.8386, allocations: 180.4 kB / 1.109 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-05/0.8387, allocations: 184.2 kB / 1.109 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-05/0.8388, allocations: 192.3 kB / 1.109 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.301e-05/0.8388, allocations: 184.2 kB / 1.109 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.839, allocations: 319.5 kB / 1.109 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.822e-05/0.8391, allocations: 213.7 kB / 1.11 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-05/0.8392, allocations: 188.1 kB / 1.11 GB, free: 456 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.846e-05/0.8393, allocations: 108.9 kB / 1.11 GB, free: 340 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.8393, allocations: 180.3 kB / 1.11 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.8394, allocations: 101 kB / 1.11 GB, free: 44 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002426/0.8396, allocations: 239.1 kB / 1.11 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2e-07/0.8396, allocations: 7.938 kB / 1.11 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002655/0.8399, allocations: 31.92 kB / 1.11 GB, free: 15.77 MB / 0.8731 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.0001404/0.84, allocations: 174.5 kB / 1.111 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.33e-05/0.8401, allocations: 19.94 kB / 1.111 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8401, allocations: 4 kB / 1.111 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.8401, allocations: 0.5 kB / 1.111 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008026/0.8409, allocations: 0.5903 MB / 1.111 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005998/0.8416, allocations: 470.5 kB / 1.112 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.8419, allocations: 0.7521 MB / 1.112 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.8419, allocations: 15.44 kB / 1.112 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of SimCode: time 6.81e-07/0.8419, allocations: 0 / 1.112 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of Templates: time 0.004519/0.8464, allocations: 2.57 MB / 1.115 GB, free: 11.13 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (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 & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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