Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001373/0.001378, allocations: 98.66 kB / 16.35 MB, free: 5.824 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.001253/0.001253, allocations: 196.7 kB / 17.3 MB, free: 5.48 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.493/2.493, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.95 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3573, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.9369/1.294, allocations: 174.1 MB / 1.197 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00986/1.304, allocations: 9.518 MB / 1.206 GB, free: 456 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005093/1.305, allocations: 10.34 kB / 1.206 GB, free: 452 kB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.0006911/1.306, allocations: 189.7 kB / 1.206 GB, free: 284 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002879/1.306, allocations: 96.12 kB / 1.206 GB, free: 200 kB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/1.306, allocations: 59.83 kB / 1.206 GB, free: 148 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004325/1.306, allocations: 333.2 kB / 1.207 GB, free: 15.95 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003753/1.307, allocations: 200 kB / 1.207 GB, free: 15.84 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003634/1.307, allocations: 163.8 kB / 1.207 GB, free: 15.75 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/1.307, allocations: 120.2 kB / 1.207 GB, free: 15.67 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/1.307, allocations: 28.83 kB / 1.207 GB, free: 15.66 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.967e-05/1.307, allocations: 21.34 kB / 1.207 GB, free: 15.66 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.572e-05/1.308, allocations: 79.03 kB / 1.207 GB, free: 15.61 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/1.308, allocations: 125.1 kB / 1.207 GB, free: 15.53 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003024/1.308, allocations: 295.1 kB / 1.208 GB, free: 15.32 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.308, allocations: 3.938 kB / 1.208 GB, free: 15.31 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.245e-06/1.308, allocations: 0 / 1.208 GB, free: 15.31 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.734e-06/1.308, allocations: 0 / 1.208 GB, free: 15.31 MB / 0.92 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.0005931/1.309, allocations: 0.5114 MB / 1.208 GB, free: 14.82 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/1.309, allocations: 10.16 kB / 1.208 GB, free: 14.82 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/1.309, allocations: 35.59 kB / 1.208 GB, free: 14.8 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004292/1.309, allocations: 271 kB / 1.208 GB, free: 14.53 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/1.309, allocations: 19.41 kB / 1.208 GB, free: 14.52 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/1.309, allocations: 26.03 kB / 1.208 GB, free: 14.52 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/1.31, allocations: 322.3 kB / 1.209 GB, free: 14.26 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/1.31, allocations: 3.938 kB / 1.209 GB, free: 14.25 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/1.31, allocations: 17.91 kB / 1.209 GB, free: 14.24 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/1.31, allocations: 9.281 kB / 1.209 GB, free: 14.24 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/1.31, allocations: 143 kB / 1.209 GB, free: 14.17 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/1.311, allocations: 1.818 MB / 1.211 GB, free: 12.41 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.829e-05/1.312, allocations: 175.7 kB / 1.211 GB, free: 12.23 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.91e-05/1.312, allocations: 80.14 kB / 1.211 GB, free: 12.15 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/1.312, allocations: 79.22 kB / 1.211 GB, free: 12.07 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/1.312, allocations: 109.8 kB / 1.211 GB, free: 11.95 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/1.312, allocations: 6.594 kB / 1.211 GB, free: 11.95 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 9.733e-05/1.312, allocations: 48.05 kB / 1.211 GB, free: 11.91 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.438e-05/1.312, allocations: 133.2 kB / 1.211 GB, free: 11.77 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/1.312, allocations: 371.2 kB / 1.212 GB, free: 11.54 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/1.312, allocations: 25.7 kB / 1.212 GB, free: 11.5 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/1.312, allocations: 167.7 kB / 1.212 GB, free: 11.35 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.078e-06/1.312, allocations: 0 / 1.212 GB, free: 11.35 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/1.312, allocations: 18.62 kB / 1.212 GB, free: 11.33 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.313, allocations: 340.1 kB / 1.212 GB, free: 11 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/1.313, allocations: 6.859 kB / 1.212 GB, free: 10.99 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-05/1.313, allocations: 38.23 kB / 1.212 GB, free: 10.95 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.729e-05/1.313, allocations: 46.48 kB / 1.212 GB, free: 10.89 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.313, allocations: 0 / 1.212 GB, free: 10.89 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001715/1.313, allocations: 89.16 kB / 1.212 GB, free: 10.83 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/1.313, allocations: 5 kB / 1.212 GB, free: 10.83 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/1.313, allocations: 0 / 1.212 GB, free: 10.83 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/1.313, allocations: 6.609 kB / 1.212 GB, free: 10.83 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.784e-05/1.313, allocations: 15.91 kB / 1.212 GB, free: 10.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/1.313, allocations: 3.828 kB / 1.212 GB, free: 10.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.92e-05/1.313, allocations: 27.47 kB / 1.212 GB, free: 10.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/1.313, allocations: 6.984 kB / 1.212 GB, free: 10.8 MB / 0.92 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.0001592/1.313, allocations: 219.8 kB / 1.213 GB, free: 10.59 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/1.313, allocations: 133.2 kB / 1.213 GB, free: 10.46 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.411e-05/1.313, allocations: 129.4 kB / 1.213 GB, free: 10.34 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.887e-05/1.314, allocations: 184.2 kB / 1.213 GB, free: 10.15 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.245e-05/1.314, allocations: 180.2 kB / 1.213 GB, free: 9.965 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.078e-05/1.314, allocations: 178.5 kB / 1.213 GB, free: 9.785 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/1.314, allocations: 489.9 kB / 1.214 GB, free: 9.281 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-05/1.314, allocations: 103.4 kB / 1.214 GB, free: 9.176 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.393e-05/1.314, allocations: 112.9 kB / 1.214 GB, free: 9.059 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.141e-05/1.314, allocations: 187.1 kB / 1.214 GB, free: 8.871 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.565e-05/1.314, allocations: 176.3 kB / 1.214 GB, free: 8.691 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-05/1.314, allocations: 184.2 kB / 1.215 GB, free: 8.504 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.994e-05/1.314, allocations: 179 kB / 1.215 GB, free: 8.324 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/1.315, allocations: 342.4 kB / 1.215 GB, free: 7.98 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/1.315, allocations: 209.2 kB / 1.215 GB, free: 7.758 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-05/1.315, allocations: 182.5 kB / 1.215 GB, free: 7.574 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/1.315, allocations: 101 kB / 1.216 GB, free: 7.469 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.758e-05/1.315, allocations: 182.6 kB / 1.216 GB, free: 7.285 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.011e-05/1.315, allocations: 105 kB / 1.216 GB, free: 7.176 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000272/1.315, allocations: 269.9 kB / 1.216 GB, free: 7.004 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/1.315, allocations: 2.844 kB / 1.216 GB, free: 7.004 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002558/1.316, allocations: 30.22 kB / 1.216 GB, free: 7 MB / 0.92 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.0001718/1.316, allocations: 175.4 kB / 1.216 GB, free: 6.832 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.841e-05/1.316, allocations: 15.97 kB / 1.216 GB, free: 6.824 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.316, allocations: 320 / 1.216 GB, free: 6.824 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/1.316, allocations: 7.219 kB / 1.216 GB, free: 6.82 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008518/1.317, allocations: 0.5569 MB / 1.217 GB, free: 6.312 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000668/1.317, allocations: 444.3 kB / 1.217 GB, free: 5.98 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/1.318, allocations: 0.7568 MB / 1.218 GB, free: 5.242 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001052/1.318, allocations: 32.53 kB / 1.218 GB, free: 5.227 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/1.318, allocations: 19.69 kB / 1.218 GB, free: 5.219 MB / 0.92 GB Notification: Performance of SimCode: time 3.9e-07/1.318, allocations: 0 / 1.218 GB, free: 5.219 MB / 0.92 GB Notification: Performance of Templates: time 0.007005/1.325, allocations: 3.16 MB / 1.221 GB, free: 3.672 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches