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: 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.001768/0.001768, allocations: 110.6 kB / 15.99 MB, free: 6.367 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.002216/0.002216, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.36/1.36, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.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.257/2.257, allocations: 390.2 MB / 0.665 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 65.48 kB / 0.8127 GB, free: 32.45 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2886, allocations: 140.4 MB / 0.9498 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.641/0.9297, allocations: 146 MB / 1.092 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005623/0.9354, allocations: 4.606 MB / 1.097 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003371/0.9357, allocations: 10.09 kB / 1.097 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005146/0.9363, allocations: 134.8 kB / 1.097 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003753/0.9367, allocations: 81.53 kB / 1.097 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.9369, allocations: 53.81 kB / 1.097 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004995/0.9374, allocations: 309.5 kB / 1.097 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/0.9377, allocations: 149.9 kB / 1.098 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.938, allocations: 110.2 kB / 1.098 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.9382, allocations: 156.6 kB / 1.098 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.9383, allocations: 17.44 kB / 1.098 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.517e-05/0.9383, allocations: 15.81 kB / 1.098 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.9384, allocations: 71.84 kB / 1.098 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.9386, allocations: 104.3 kB / 1.098 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.9388, allocations: 167.4 kB / 1.098 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.9389, allocations: 4.781 kB / 1.098 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9389, allocations: 3 kB / 1.098 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.9389, allocations: 1.75 kB / 1.098 GB, free: 6.777 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.0008044/0.9397, allocations: 489.4 kB / 1.099 GB, free: 22.37 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.9397, allocations: 11.56 kB / 1.099 GB, free: 22.37 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.28e-05/0.9398, allocations: 29.12 kB / 1.099 GB, free: 22.36 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.9402, allocations: 260.2 kB / 1.099 GB, free: 22.14 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.9402, allocations: 17.41 kB / 1.099 GB, free: 22.14 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.9403, allocations: 21.66 kB / 1.099 GB, free: 22.14 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.9407, allocations: 302.5 kB / 1.099 GB, free: 21.97 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.9408, allocations: 4.188 kB / 1.099 GB, free: 21.97 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.9408, allocations: 10.19 kB / 1.099 GB, free: 21.97 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.9408, allocations: 7.625 kB / 1.099 GB, free: 21.97 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.9411, allocations: 127.3 kB / 1.099 GB, free: 21.97 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.9425, allocations: 1.976 MB / 1.101 GB, free: 20.26 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.011e-05/0.9426, allocations: 171.2 kB / 1.101 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.994e-05/0.9426, allocations: 81.05 kB / 1.102 GB, free: 20.01 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.9427, allocations: 76.94 kB / 1.102 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.535e-05/0.9427, allocations: 108.5 kB / 1.102 GB, free: 19.82 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/0.9427, allocations: 0 / 1.102 GB, free: 19.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001188/0.9429, allocations: 57.47 kB / 1.102 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.9429, allocations: 131.6 kB / 1.102 GB, free: 19.64 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/0.9434, allocations: 328.8 kB / 1.102 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.9434, allocations: 27.55 kB / 1.102 GB, free: 19.49 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.9436, allocations: 162.1 kB / 1.102 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-06/0.9436, allocations: 1.125 kB / 1.102 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.9436, allocations: 21.53 kB / 1.102 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.9438, allocations: 334.1 kB / 1.103 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.326e-05/0.9438, allocations: 10.64 kB / 1.103 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.106e-05/0.9438, allocations: 54.77 kB / 1.103 GB, free: 19 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.93e-05/0.9439, allocations: 75.17 kB / 1.103 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.9439, allocations: 1.625 kB / 1.103 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002019/0.9441, allocations: 103.8 kB / 1.103 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.9442, allocations: 6.703 kB / 1.103 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.9442, allocations: 5.062 kB / 1.103 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.9442, allocations: 8.016 kB / 1.103 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.684e-05/0.9443, allocations: 15.97 kB / 1.103 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.9443, allocations: 3.156 kB / 1.103 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.39e-05/0.9444, allocations: 23.92 kB / 1.103 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.9444, allocations: 4.5 kB / 1.103 GB, free: 18.88 MB / 0.8731 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.0001455/0.9446, allocations: 215.5 kB / 1.103 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.849e-05/0.9446, allocations: 129.5 kB / 1.103 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.413e-05/0.9447, allocations: 124.4 kB / 1.103 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.411e-05/0.9448, allocations: 185.8 kB / 1.104 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.053e-05/0.9449, allocations: 183.9 kB / 1.104 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.239e-05/0.9449, allocations: 181.2 kB / 1.104 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003432/0.9453, allocations: 475.6 kB / 1.104 GB, free: 17.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.58e-05/0.9453, allocations: 107 kB / 1.105 GB, free: 17.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.9454, allocations: 102.2 kB / 1.105 GB, free: 17.26 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-05/0.9454, allocations: 182.7 kB / 1.105 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.451e-05/0.9455, allocations: 179.4 kB / 1.105 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.159e-05/0.9456, allocations: 186.2 kB / 1.105 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.745e-05/0.9456, allocations: 185.2 kB / 1.105 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.9458, allocations: 323.7 kB / 1.106 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.9459, allocations: 210.5 kB / 1.106 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.123e-05/0.946, allocations: 190.8 kB / 1.106 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.9461, allocations: 109.7 kB / 1.106 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.9462, allocations: 183.1 kB / 1.106 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/0.9463, allocations: 103 kB / 1.106 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002712/0.9465, allocations: 239.2 kB / 1.107 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9465, allocations: 0 / 1.107 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002729/0.9468, allocations: 29.38 kB / 1.107 GB, free: 15.34 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.0001384/0.947, allocations: 177.3 kB / 1.107 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001145/0.9471, allocations: 22.7 kB / 1.107 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.9471, allocations: 5.344 kB / 1.107 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.218e-06/0.9471, allocations: 3.609 kB / 1.107 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007984/0.9479, allocations: 0.5082 MB / 1.107 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000663/0.9486, allocations: 477.8 kB / 1.108 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.949, allocations: 0.7502 MB / 1.109 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.949, allocations: 18.16 kB / 1.109 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.949, allocations: 0 / 1.109 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of Templates: time 0.007729/0.9568, allocations: 2.606 MB / 1.111 GB, free: 13.59 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