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.0009636/0.0009637, allocations: 98.88 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.001257/0.001257, allocations: 186.9 kB / 16.92 MB, free: 6.684 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.89/2.89, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003589, allocations: 8.125 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3108, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1728/0.4837, allocations: 169.6 MB / 1.225 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009734/0.4935, allocations: 9.384 MB / 1.234 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003204/0.4938, allocations: 7.938 kB / 1.234 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005722/0.4944, allocations: 151 kB / 1.234 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.4948, allocations: 83.48 kB / 1.234 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.495, allocations: 55.95 kB / 1.234 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004836/0.4955, allocations: 394.5 kB / 1.235 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003557/0.4958, allocations: 185.8 kB / 1.235 GB, free: 456 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003248/0.4962, allocations: 123.4 kB / 1.235 GB, free: 332 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.4963, allocations: 91.44 kB / 1.235 GB, free: 240 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.4963, allocations: 4 kB / 1.235 GB, free: 236 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.066e-05/0.4964, allocations: 4 kB / 1.235 GB, free: 232 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.574e-05/0.4965, allocations: 59.77 kB / 1.235 GB, free: 172 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.4966, allocations: 125.1 kB / 1.235 GB, free: 40 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.4968, allocations: 211.4 kB / 1.236 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4968, allocations: 0 / 1.236 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4968, allocations: 0 / 1.236 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.4968, allocations: 3.938 kB / 1.236 GB, free: 15.83 MB / 0.9981 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.0004653/0.4973, allocations: 467.1 kB / 1.236 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.4974, allocations: 11.97 kB / 1.236 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.091e-05/0.4975, allocations: 35.56 kB / 1.236 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.4978, allocations: 266.5 kB / 1.236 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.4978, allocations: 24.56 kB / 1.236 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.4978, allocations: 24 kB / 1.236 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000462/0.4983, allocations: 328 kB / 1.237 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.4983, allocations: 3.938 kB / 1.237 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.4983, allocations: 12 kB / 1.237 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.4984, allocations: 11.98 kB / 1.237 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.4986, allocations: 143.7 kB / 1.237 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.4999, allocations: 1.816 MB / 1.239 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.833e-05/0.5, allocations: 169.1 kB / 1.239 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.455e-05/0.5, allocations: 84.14 kB / 1.239 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.5001, allocations: 83.16 kB / 1.239 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.5001, allocations: 105.8 kB / 1.239 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.372e-06/0.5001, allocations: 0 / 1.239 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001005/0.5002, allocations: 53.53 kB / 1.239 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.5003, allocations: 134.6 kB / 1.239 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.5007, allocations: 377.6 kB / 1.24 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.5007, allocations: 25.7 kB / 1.24 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.5008, allocations: 167.8 kB / 1.24 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.636e-06/0.5008, allocations: 0 / 1.24 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.5009, allocations: 13.72 kB / 1.24 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.501, allocations: 334.8 kB / 1.24 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/0.501, allocations: 4 kB / 1.24 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.412e-05/0.501, allocations: 44.22 kB / 1.24 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.861e-05/0.5011, allocations: 44.23 kB / 1.24 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5011, allocations: 4 kB / 1.24 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001548/0.5013, allocations: 85.28 kB / 1.24 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.5013, allocations: 8 kB / 1.24 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5013, allocations: 3.938 kB / 1.24 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.5013, allocations: 4 kB / 1.24 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.58e-05/0.5014, allocations: 4 kB / 1.24 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.5014, allocations: 7.984 kB / 1.24 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.13e-05/0.5015, allocations: 31.53 kB / 1.24 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.5015, allocations: 4.156 kB / 1.24 GB, free: 10.61 MB / 0.9981 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.000134/0.5017, allocations: 213.1 kB / 1.241 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.451e-05/0.5018, allocations: 144.5 kB / 1.241 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.785e-05/0.5018, allocations: 131 kB / 1.241 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.301e-05/0.5019, allocations: 176.4 kB / 1.241 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.679e-05/0.5019, allocations: 184.2 kB / 1.241 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-05/0.502, allocations: 180.3 kB / 1.241 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.5023, allocations: 0.4893 MB / 1.242 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-05/0.5024, allocations: 104.9 kB / 1.242 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.133e-05/0.5024, allocations: 101 kB / 1.242 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.467e-05/0.5025, allocations: 180.2 kB / 1.242 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.5025, allocations: 184.3 kB / 1.242 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.465e-05/0.5026, allocations: 180.2 kB / 1.242 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.485e-05/0.5026, allocations: 180.2 kB / 1.243 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.5028, allocations: 331.4 kB / 1.243 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.5029, allocations: 213.7 kB / 1.243 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.344e-05/0.503, allocations: 184.2 kB / 1.243 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.5031, allocations: 101 kB / 1.243 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.5032, allocations: 196.1 kB / 1.244 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.5032, allocations: 101 kB / 1.244 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002683/0.5035, allocations: 267.2 kB / 1.244 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5035, allocations: 0 / 1.244 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002623/0.5038, allocations: 32 kB / 1.244 GB, free: 6.586 MB / 0.9981 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.0001229/0.5039, allocations: 174.5 kB / 1.244 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.732e-05/0.504, allocations: 15.94 kB / 1.244 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.504, allocations: 0 / 1.244 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/0.504, allocations: 3.984 kB / 1.244 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008851/0.5049, allocations: 0.6163 MB / 1.245 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006652/0.5055, allocations: 0.5335 MB / 1.245 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.5059, allocations: 0.7482 MB / 1.246 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.5059, allocations: 19.44 kB / 1.246 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of SimCode: time 3.8e-07/0.5059, allocations: 4 kB / 1.246 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of Templates: time 0.005384/0.5113, allocations: 3.081 MB / 1.249 GB, free: 1.352 MB / 0.9981 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 -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