Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.InletToAirMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|souRev.outlet.backward.T|souRev.outlet.backward.X_w",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|souRev.outlet.backward.T|souRev.outlet.backward.X_w",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 110.3 kB / 16.41 MB, free: 6.492 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.002262/0.002262, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.657/2.657, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 63.91 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8452/0.8467, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2036/1.05, allocations: 174 MB / 1.378 GB, free: 14.97 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01067/1.061, allocations: 9.506 MB / 1.388 GB, free: 5.43 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004374/1.062, allocations: 11.94 kB / 1.388 GB, free: 5.418 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008274/1.062, allocations: 190.7 kB / 1.388 GB, free: 5.23 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0004032/1.063, allocations: 91.38 kB / 1.388 GB, free: 5.141 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.000237/1.063, allocations: 67.86 kB / 1.388 GB, free: 5.074 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.000499/1.064, allocations: 310.7 kB / 1.388 GB, free: 4.77 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/1.064, allocations: 152.5 kB / 1.388 GB, free: 4.617 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004573/1.064, allocations: 155.4 kB / 1.389 GB, free: 4.465 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/1.065, allocations: 103.4 kB / 1.389 GB, free: 4.363 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/1.065, allocations: 16 kB / 1.389 GB, free: 4.348 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 4.37e-05/1.065, allocations: 16 kB / 1.389 GB, free: 4.332 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 3.873e-05/1.065, allocations: 35.84 kB / 1.389 GB, free: 4.297 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/1.065, allocations: 103.5 kB / 1.389 GB, free: 4.195 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0002735/1.065, allocations: 221 kB / 1.389 GB, free: 3.98 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.065, allocations: 0 / 1.389 GB, free: 3.98 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.703e-06/1.065, allocations: 0 / 1.389 GB, free: 3.98 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.375e-06/1.065, allocations: 0 / 1.389 GB, free: 3.98 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005423/1.066, allocations: 475 kB / 1.389 GB, free: 3.469 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/1.066, allocations: 8.031 kB / 1.389 GB, free: 3.461 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.301e-05/1.066, allocations: 27.66 kB / 1.39 GB, free: 3.434 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/1.066, allocations: 258.6 kB / 1.39 GB, free: 3.141 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/1.066, allocations: 16.44 kB / 1.39 GB, free: 3.125 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/1.066, allocations: 23.92 kB / 1.39 GB, free: 3.102 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/1.067, allocations: 231.8 kB / 1.39 GB, free: 2.84 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/1.067, allocations: 0 / 1.39 GB, free: 2.84 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/1.067, allocations: 15.94 kB / 1.39 GB, free: 2.824 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/1.067, allocations: 11.94 kB / 1.39 GB, free: 2.812 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/1.067, allocations: 87.78 kB / 1.39 GB, free: 2.727 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/1.068, allocations: 1.437 MB / 1.392 GB, free: 1.203 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 8.014e-05/1.068, allocations: 169.1 kB / 1.392 GB, free: 1.027 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.893e-05/1.068, allocations: 88.17 kB / 1.392 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/1.068, allocations: 75.28 kB / 1.392 GB, free: 0.8633 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/1.068, allocations: 113.8 kB / 1.392 GB, free: 0.7422 MB / 1.107 GB Notification: Performance of pre-optimization done (n=0): time 1.362e-06/1.068, allocations: 0 / 1.392 GB, free: 0.7422 MB / 1.107 GB Notification: Performance of matching and sorting (n=0): time 0.0001168/1.068, allocations: 41.52 kB / 1.392 GB, free: 0.6953 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/1.069, allocations: 138.6 kB / 1.392 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/1.069, allocations: 290.9 kB / 1.392 GB, free: 264 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/1.069, allocations: 25.7 kB / 1.392 GB, free: 232 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/1.069, allocations: 139.9 kB / 1.393 GB, free: 88 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.121e-06/1.069, allocations: 4 kB / 1.393 GB, free: 84 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/1.069, allocations: 13.72 kB / 1.393 GB, free: 64 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.069, allocations: 342.8 kB / 1.393 GB, free: 15.72 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/1.069, allocations: 4 kB / 1.393 GB, free: 15.71 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-05/1.069, allocations: 23.44 kB / 1.393 GB, free: 15.68 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.453e-05/1.069, allocations: 39.38 kB / 1.393 GB, free: 15.63 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.069, allocations: 0 / 1.393 GB, free: 15.63 MB / 1.123 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001529/1.069, allocations: 73.34 kB / 1.393 GB, free: 15.55 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/1.069, allocations: 4 kB / 1.393 GB, free: 15.55 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.069, allocations: 4 kB / 1.393 GB, free: 15.54 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/1.069, allocations: 0 / 1.393 GB, free: 15.54 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.233e-05/1.07, allocations: 15.92 kB / 1.393 GB, free: 15.53 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.07, allocations: 0 / 1.393 GB, free: 15.53 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.909e-05/1.07, allocations: 23.81 kB / 1.393 GB, free: 15.5 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/1.07, allocations: 4.109 kB / 1.393 GB, free: 15.5 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001228/1.07, allocations: 205 kB / 1.393 GB, free: 15.29 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.375e-05/1.07, allocations: 120.8 kB / 1.393 GB, free: 15.16 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.896e-05/1.07, allocations: 125.9 kB / 1.394 GB, free: 15.03 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.454e-05/1.07, allocations: 176.3 kB / 1.394 GB, free: 14.85 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.728e-05/1.07, allocations: 184.3 kB / 1.394 GB, free: 14.66 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.075e-05/1.07, allocations: 184.2 kB / 1.394 GB, free: 14.48 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/1.07, allocations: 469.1 kB / 1.394 GB, free: 13.96 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.682e-05/1.07, allocations: 108.9 kB / 1.395 GB, free: 13.85 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.252e-05/1.071, allocations: 105 kB / 1.395 GB, free: 13.74 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.754e-05/1.071, allocations: 184.2 kB / 1.395 GB, free: 13.55 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.076e-05/1.071, allocations: 180.2 kB / 1.395 GB, free: 13.37 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.537e-05/1.071, allocations: 176.3 kB / 1.395 GB, free: 13.19 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.216e-05/1.071, allocations: 192.2 kB / 1.395 GB, free: 12.99 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/1.071, allocations: 335.3 kB / 1.396 GB, free: 12.64 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-05/1.071, allocations: 197.8 kB / 1.396 GB, free: 12.42 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.04e-05/1.071, allocations: 180.2 kB / 1.396 GB, free: 12.24 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/1.071, allocations: 108.9 kB / 1.396 GB, free: 12.12 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/1.071, allocations: 180.4 kB / 1.396 GB, free: 11.94 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/1.071, allocations: 109.2 kB / 1.396 GB, free: 11.83 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001867/1.072, allocations: 206 kB / 1.397 GB, free: 11.63 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.31e-07/1.072, allocations: 4 kB / 1.397 GB, free: 11.63 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000254/1.072, allocations: 20 kB / 1.397 GB, free: 11.61 MB / 1.123 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.0001508/1.072, allocations: 182.5 kB / 1.397 GB, free: 11.42 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 7.662e-05/1.072, allocations: 8 kB / 1.397 GB, free: 11.41 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.072, allocations: 3.938 kB / 1.397 GB, free: 11.41 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/1.072, allocations: 0 / 1.397 GB, free: 11.41 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007944/1.073, allocations: 0.5319 MB / 1.397 GB, free: 10.87 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005676/1.073, allocations: 394.7 kB / 1.398 GB, free: 10.45 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/1.074, allocations: 0.7206 MB / 1.398 GB, free: 9.703 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/1.074, allocations: 19.44 kB / 1.398 GB, free: 9.684 MB / 1.123 GB Notification: Performance of SimCode: time 4.1e-07/1.074, allocations: 0 / 1.398 GB, free: 9.684 MB / 1.123 GB Notification: Performance of Templates: time 0.004524/1.078, allocations: 2.381 MB / 1.401 GB, free: 7.32 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches