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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001014/0.001014, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.0009773/0.0009773, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.479/2.479, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001297, allocations: 61.75 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3235, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.9432/1.267, allocations: 174.1 MB / 1.189 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01019/1.277, allocations: 9.517 MB / 1.198 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004702/1.278, allocations: 7.625 kB / 1.198 GB, free: 10.44 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007075/1.278, allocations: 194.3 kB / 1.198 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002766/1.279, allocations: 92.78 kB / 1.198 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/1.279, allocations: 63.47 kB / 1.198 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004228/1.279, allocations: 332.2 kB / 1.199 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003891/1.28, allocations: 206 kB / 1.199 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003872/1.28, allocations: 165.5 kB / 1.199 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/1.28, allocations: 121.1 kB / 1.199 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/1.28, allocations: 21.09 kB / 1.199 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 4.17e-05/1.28, allocations: 21.84 kB / 1.199 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/1.281, allocations: 77.22 kB / 1.199 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001484/1.281, allocations: 125 kB / 1.199 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003353/1.281, allocations: 298.3 kB / 1.2 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/1.281, allocations: 4 kB / 1.2 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.843e-06/1.281, allocations: 0 / 1.2 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.279e-05/1.281, allocations: 0 / 1.2 GB, free: 9.309 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.0005889/1.282, allocations: 0.5081 MB / 1.2 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/1.282, allocations: 10.45 kB / 1.2 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/1.282, allocations: 30.84 kB / 1.2 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/1.282, allocations: 294.4 kB / 1.201 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/1.282, allocations: 19.56 kB / 1.201 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/1.282, allocations: 28.48 kB / 1.201 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004874/1.283, allocations: 315 kB / 1.201 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/1.283, allocations: 6.031 kB / 1.201 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/1.283, allocations: 10.75 kB / 1.201 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/1.283, allocations: 7.094 kB / 1.201 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/1.283, allocations: 147.6 kB / 1.201 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/1.285, allocations: 1.81 MB / 1.203 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.579e-05/1.285, allocations: 174.4 kB / 1.203 GB, free: 6.23 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/1.285, allocations: 85.23 kB / 1.203 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/1.285, allocations: 79.27 kB / 1.203 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.535e-05/1.285, allocations: 114.9 kB / 1.203 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/1.285, allocations: 0 / 1.203 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001054/1.285, allocations: 53.77 kB / 1.203 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.988e-05/1.285, allocations: 128.2 kB / 1.203 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/1.285, allocations: 376.3 kB / 1.204 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/1.286, allocations: 25.7 kB / 1.204 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/1.286, allocations: 167.3 kB / 1.204 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-06/1.286, allocations: 0 / 1.204 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/1.286, allocations: 22.77 kB / 1.204 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.286, allocations: 338.6 kB / 1.204 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/1.286, allocations: 2.312 kB / 1.204 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.778e-05/1.286, allocations: 40.61 kB / 1.204 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.556e-05/1.286, allocations: 44.03 kB / 1.204 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.286, allocations: 2.562 kB / 1.204 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001571/1.286, allocations: 91.88 kB / 1.204 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/1.286, allocations: 4.469 kB / 1.204 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.286, allocations: 2.875 kB / 1.204 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/1.286, allocations: 0 / 1.204 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.091e-05/1.286, allocations: 11.72 kB / 1.204 GB, free: 4.816 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/1.286, allocations: 1.781 kB / 1.204 GB, free: 4.816 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.42e-05/1.286, allocations: 27.69 kB / 1.205 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/1.286, allocations: 2.406 kB / 1.205 GB, free: 4.797 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.0001511/1.287, allocations: 214.3 kB / 1.205 GB, free: 4.59 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.758e-05/1.287, allocations: 135.8 kB / 1.205 GB, free: 4.465 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.81e-05/1.287, allocations: 130.8 kB / 1.205 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-05/1.287, allocations: 178.5 kB / 1.205 GB, free: 4.148 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.9e-05/1.287, allocations: 183.4 kB / 1.205 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.291e-05/1.287, allocations: 191 kB / 1.205 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/1.287, allocations: 489.4 kB / 1.206 GB, free: 3.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.361e-05/1.287, allocations: 107.8 kB / 1.206 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-05/1.287, allocations: 108.9 kB / 1.206 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.517e-05/1.287, allocations: 180.2 kB / 1.206 GB, free: 2.863 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-05/1.288, allocations: 178.8 kB / 1.207 GB, free: 2.684 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.837e-05/1.288, allocations: 188.2 kB / 1.207 GB, free: 2.492 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.401e-05/1.288, allocations: 177.7 kB / 1.207 GB, free: 2.312 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/1.288, allocations: 340.5 kB / 1.207 GB, free: 1.973 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/1.288, allocations: 209.5 kB / 1.207 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/1.288, allocations: 186.6 kB / 1.208 GB, free: 1.562 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/1.288, allocations: 101 kB / 1.208 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/1.288, allocations: 180.2 kB / 1.208 GB, free: 1.273 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-05/1.288, allocations: 111.5 kB / 1.208 GB, free: 1.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002773/1.289, allocations: 267.2 kB / 1.208 GB, free: 0.9961 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/1.289, allocations: 0 / 1.208 GB, free: 0.9961 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000253/1.289, allocations: 31.44 kB / 1.208 GB, free: 0.9922 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.0001619/1.289, allocations: 176.1 kB / 1.208 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.281e-05/1.289, allocations: 15.5 kB / 1.208 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.289, allocations: 0 / 1.208 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/1.289, allocations: 2.75 kB / 1.208 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008089/1.29, allocations: 0.5522 MB / 1.209 GB, free: 316 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006742/1.291, allocations: 452.2 kB / 1.209 GB, free: 15.97 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/1.291, allocations: 0.7489 MB / 1.21 GB, free: 15.24 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 9.354e-05/1.291, allocations: 40.7 kB / 1.21 GB, free: 15.22 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/1.291, allocations: 19.5 kB / 1.21 GB, free: 15.21 MB / 0.92 GB Notification: Performance of SimCode: time 2e-07/1.291, allocations: 0 / 1.21 GB, free: 15.21 MB / 0.92 GB Notification: Performance of Templates: time 0.006764/1.298, allocations: 3.157 MB / 1.213 GB, free: 13.68 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=480 -s gbode -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