Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.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_9_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_9_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.001076/0.001076, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001539/0.00154, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.515/2.515, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003794, allocations: 16 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7649/0.7653, allocations: 142.4 MB / 0.9544 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1835/0.9489, allocations: 158.2 MB / 1.109 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008832/0.9578, allocations: 8.763 MB / 1.117 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002423/0.9581, allocations: 8 kB / 1.117 GB, free: 8.168 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005083/0.9586, allocations: 135 kB / 1.118 GB, free: 8.035 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.9588, allocations: 79.5 kB / 1.118 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.9589, allocations: 43.95 kB / 1.118 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.9593, allocations: 334.7 kB / 1.118 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002585/0.9596, allocations: 108.4 kB / 1.118 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002996/0.9599, allocations: 123.5 kB / 1.118 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.96, allocations: 71.52 kB / 1.118 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.96, allocations: 4 kB / 1.118 GB, free: 7.285 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 2.047e-05/0.96, allocations: 7.938 kB / 1.118 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.9601, allocations: 15.92 kB / 1.118 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 4.604e-05/0.9601, allocations: 61.58 kB / 1.118 GB, free: 7.195 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.9603, allocations: 151.6 kB / 1.119 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.9603, allocations: 0 / 1.119 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9603, allocations: 3.938 kB / 1.119 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.9603, allocations: 4 kB / 1.119 GB, free: 7.039 MB / 0.8731 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.0003864/0.9607, allocations: 447.1 kB / 1.119 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.9607, allocations: 12.03 kB / 1.119 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.9608, allocations: 19.72 kB / 1.119 GB, free: 6.52 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.961, allocations: 250.6 kB / 1.119 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.9611, allocations: 16.44 kB / 1.119 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.9611, allocations: 16 kB / 1.119 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.9614, allocations: 231.8 kB / 1.119 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.9614, allocations: 0 / 1.119 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.9615, allocations: 12 kB / 1.119 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.9615, allocations: 4 kB / 1.12 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.9616, allocations: 91.77 kB / 1.12 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009416/0.9626, allocations: 1.433 MB / 1.121 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.358e-05/0.9627, allocations: 173.1 kB / 1.121 GB, free: 4.141 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.903e-05/0.9627, allocations: 84.14 kB / 1.121 GB, free: 4.055 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.9627, allocations: 75.28 kB / 1.121 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.9628, allocations: 105.8 kB / 1.121 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.9628, allocations: 0 / 1.121 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 8.713e-05/0.9629, allocations: 57.31 kB / 1.121 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.9629, allocations: 126.7 kB / 1.122 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.9632, allocations: 287 kB / 1.122 GB, free: 3.379 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.9632, allocations: 25.7 kB / 1.122 GB, free: 3.348 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.485e-05/0.9633, allocations: 147.9 kB / 1.122 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.9633, allocations: 0 / 1.122 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.9634, allocations: 112 / 1.122 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.9635, allocations: 342.8 kB / 1.122 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.9635, allocations: 0 / 1.122 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.692e-05/0.9635, allocations: 27.44 kB / 1.122 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.586e-05/0.9635, allocations: 8 kB / 1.122 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9636, allocations: 0 / 1.122 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001241/0.9637, allocations: 77.28 kB / 1.122 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.9637, allocations: 8 kB / 1.122 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.9637, allocations: 0 / 1.122 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.9637, allocations: 8.062 kB / 1.122 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.391e-05/0.9638, allocations: 8 kB / 1.122 GB, free: 2.703 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.9638, allocations: 3.953 kB / 1.122 GB, free: 2.699 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.798e-05/0.9639, allocations: 27.67 kB / 1.123 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.9639, allocations: 0 / 1.123 GB, free: 2.672 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.964, allocations: 200.9 kB / 1.123 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.867e-05/0.9641, allocations: 128.6 kB / 1.123 GB, free: 2.332 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.787e-05/0.9641, allocations: 126 kB / 1.123 GB, free: 2.203 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.9e-05/0.9642, allocations: 192.2 kB / 1.123 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.273e-05/0.9643, allocations: 176.3 kB / 1.123 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.345e-05/0.9643, allocations: 180.2 kB / 1.123 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.9646, allocations: 473.1 kB / 1.124 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.08e-05/0.9646, allocations: 105.1 kB / 1.124 GB, free: 1.016 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.017e-05/0.9646, allocations: 108.9 kB / 1.124 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.988e-05/0.9647, allocations: 180.3 kB / 1.124 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/0.9648, allocations: 180.2 kB / 1.124 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-05/0.9648, allocations: 188.2 kB / 1.125 GB, free: 352 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.903e-05/0.9649, allocations: 180.3 kB / 1.125 GB, free: 164 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.965, allocations: 323.7 kB / 1.125 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.058e-05/0.9651, allocations: 201.8 kB / 1.125 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/0.9652, allocations: 184.2 kB / 1.125 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.118e-05/0.9653, allocations: 105 kB / 1.126 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.9653, allocations: 184.2 kB / 1.126 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/0.9654, allocations: 105 kB / 1.126 GB, free: 15 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001756/0.9656, allocations: 202 kB / 1.126 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9656, allocations: 0 / 1.126 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002395/0.9658, allocations: 24 kB / 1.126 GB, free: 14.78 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000111/0.9659, allocations: 170.5 kB / 1.126 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 6.332e-05/0.966, allocations: 23.86 kB / 1.126 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.966, allocations: 4.25 kB / 1.126 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.966, allocations: 0 / 1.126 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007363/0.9667, allocations: 0.6041 MB / 1.127 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000458/0.9672, allocations: 398.2 kB / 1.127 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.9675, allocations: 0.7287 MB / 1.128 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 7.38e-05/0.9675, allocations: 21.95 kB / 1.128 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.9676, allocations: 15.44 kB / 1.128 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of SimCode: time 2.1e-07/0.9676, allocations: 0 / 1.128 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of Templates: time 0.004779/0.9724, allocations: 2.224 MB / 1.13 GB, free: 10.57 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches