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.001634/0.001634, allocations: 111.4 kB / 16.37 MB, free: 6.469 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.001663/0.001663, allocations: 196.6 kB / 17.31 MB, free: 5.824 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.488/1.488, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.622/2.622, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002012, allocations: 64.47 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3469, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.8866/1.234, allocations: 174.1 MB / 1.197 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009988/1.244, allocations: 9.522 MB / 1.206 GB, free: 468 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004947/1.244, allocations: 13.16 kB / 1.206 GB, free: 460 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.0007147/1.245, allocations: 189.8 kB / 1.206 GB, free: 292 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002835/1.245, allocations: 96.59 kB / 1.206 GB, free: 208 kB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/1.245, allocations: 64.03 kB / 1.206 GB, free: 152 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004081/1.246, allocations: 327 kB / 1.207 GB, free: 15.96 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000366/1.246, allocations: 200.3 kB / 1.207 GB, free: 15.86 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003478/1.247, allocations: 165.1 kB / 1.207 GB, free: 15.76 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/1.247, allocations: 128.1 kB / 1.207 GB, free: 15.67 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/1.247, allocations: 23.5 kB / 1.207 GB, free: 15.67 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.614e-05/1.247, allocations: 24.84 kB / 1.207 GB, free: 15.67 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.912e-05/1.247, allocations: 73.69 kB / 1.207 GB, free: 15.62 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/1.247, allocations: 128.3 kB / 1.207 GB, free: 15.53 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003109/1.247, allocations: 291.1 kB / 1.208 GB, free: 15.32 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.247, allocations: 0 / 1.208 GB, free: 15.32 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.793e-06/1.247, allocations: 0 / 1.208 GB, free: 15.32 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.694e-06/1.247, allocations: 0 / 1.208 GB, free: 15.32 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.0005587/1.248, allocations: 0.5138 MB / 1.208 GB, free: 14.83 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/1.248, allocations: 7.906 kB / 1.208 GB, free: 14.83 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/1.248, allocations: 35.81 kB / 1.208 GB, free: 14.81 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005125/1.249, allocations: 271.6 kB / 1.208 GB, free: 14.54 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/1.249, allocations: 23.38 kB / 1.208 GB, free: 14.54 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/1.249, allocations: 23.81 kB / 1.208 GB, free: 14.53 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000593/1.249, allocations: 326.2 kB / 1.209 GB, free: 14.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/1.249, allocations: 2.5 kB / 1.209 GB, free: 14.27 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/1.249, allocations: 18.42 kB / 1.209 GB, free: 14.25 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/1.249, allocations: 7.875 kB / 1.209 GB, free: 14.25 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002167/1.25, allocations: 146.6 kB / 1.209 GB, free: 14.18 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/1.251, allocations: 1.814 MB / 1.211 GB, free: 12.42 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.018e-05/1.251, allocations: 179.4 kB / 1.211 GB, free: 12.24 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/1.251, allocations: 80.14 kB / 1.211 GB, free: 12.16 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/1.251, allocations: 75.28 kB / 1.211 GB, free: 12.08 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/1.251, allocations: 113.8 kB / 1.211 GB, free: 11.96 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/1.251, allocations: 4 kB / 1.211 GB, free: 11.96 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 9.209e-05/1.251, allocations: 52.48 kB / 1.211 GB, free: 11.91 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/1.251, allocations: 126.7 kB / 1.211 GB, free: 11.78 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003649/1.252, allocations: 375.4 kB / 1.212 GB, free: 11.54 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/1.252, allocations: 28.27 kB / 1.212 GB, free: 11.51 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/1.252, allocations: 164.8 kB / 1.212 GB, free: 11.36 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.997e-06/1.252, allocations: 0 / 1.212 GB, free: 11.36 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/1.252, allocations: 23.39 kB / 1.212 GB, free: 11.34 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.252, allocations: 339.6 kB / 1.212 GB, free: 11 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/1.252, allocations: 6 kB / 1.212 GB, free: 11 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.028e-05/1.252, allocations: 32.55 kB / 1.212 GB, free: 10.96 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.595e-05/1.252, allocations: 48.56 kB / 1.212 GB, free: 10.9 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.252, allocations: 0 / 1.212 GB, free: 10.9 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001555/1.252, allocations: 88.53 kB / 1.212 GB, free: 10.84 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.252, allocations: 9.438 kB / 1.212 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.252, allocations: 112 / 1.212 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/1.252, allocations: 6.094 kB / 1.212 GB, free: 10.83 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.635e-05/1.252, allocations: 16.59 kB / 1.212 GB, free: 10.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/1.252, allocations: 0 / 1.212 GB, free: 10.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.394e-05/1.253, allocations: 27.78 kB / 1.212 GB, free: 10.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/1.253, allocations: 3.219 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.0001411/1.253, allocations: 217.9 kB / 1.213 GB, free: 10.59 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.471e-05/1.253, allocations: 130.1 kB / 1.213 GB, free: 10.47 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.975e-05/1.253, allocations: 133.1 kB / 1.213 GB, free: 10.34 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.476e-05/1.253, allocations: 186.3 kB / 1.213 GB, free: 10.16 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.063e-05/1.253, allocations: 176.3 kB / 1.213 GB, free: 9.977 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.208e-05/1.253, allocations: 182.5 kB / 1.213 GB, free: 9.793 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/1.253, allocations: 487.2 kB / 1.214 GB, free: 9.293 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.709e-05/1.253, allocations: 105 kB / 1.214 GB, free: 9.184 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/1.254, allocations: 111.1 kB / 1.214 GB, free: 9.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.827e-05/1.254, allocations: 180.3 kB / 1.214 GB, free: 8.887 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-05/1.254, allocations: 187.2 kB / 1.214 GB, free: 8.699 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.787e-05/1.254, allocations: 180.3 kB / 1.215 GB, free: 8.516 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.677e-05/1.254, allocations: 176.5 kB / 1.215 GB, free: 8.336 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/1.254, allocations: 342.5 kB / 1.215 GB, free: 7.992 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/1.254, allocations: 215.7 kB / 1.215 GB, free: 7.766 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.34e-05/1.254, allocations: 177.1 kB / 1.215 GB, free: 7.586 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/1.254, allocations: 103.7 kB / 1.216 GB, free: 7.48 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/1.254, allocations: 180.2 kB / 1.216 GB, free: 7.297 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/1.254, allocations: 111.2 kB / 1.216 GB, free: 7.184 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002522/1.255, allocations: 270.6 kB / 1.216 GB, free: 7.012 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.21e-07/1.255, allocations: 0 / 1.216 GB, free: 7.012 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002514/1.255, allocations: 31.91 kB / 1.216 GB, free: 7.008 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.0001408/1.255, allocations: 170.2 kB / 1.216 GB, free: 6.844 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.065e-05/1.255, allocations: 18.56 kB / 1.216 GB, free: 6.836 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.255, allocations: 320 / 1.216 GB, free: 6.836 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/1.255, allocations: 4 kB / 1.216 GB, free: 6.832 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007572/1.256, allocations: 0.5591 MB / 1.217 GB, free: 6.324 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006027/1.257, allocations: 439.8 kB / 1.217 GB, free: 5.996 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/1.257, allocations: 0.753 MB / 1.218 GB, free: 5.262 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 9.604e-05/1.257, allocations: 35.28 kB / 1.218 GB, free: 5.246 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/1.257, allocations: 17.59 kB / 1.218 GB, free: 5.238 MB / 0.92 GB Notification: Performance of SimCode: time 2.61e-07/1.257, allocations: 3.938 kB / 1.218 GB, free: 5.234 MB / 0.92 GB Notification: Performance of Templates: time 0.006387/1.263, allocations: 3.166 MB / 1.221 GB, free: 3.68 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 cvode -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