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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0007858/0.0007857, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005143/0.005144, allocations: 170.1 kB / 16.26 MB, free: 6.676 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.436/1.436, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.549/2.549, allocations: 390.9 MB / 0.6663 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003788, allocations: 12 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7635/0.7639, allocations: 142.4 MB / 0.955 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2118/0.9757, allocations: 169.6 MB / 1.121 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01027/0.9861, allocations: 9.365 MB / 1.13 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003278/0.9864, allocations: 11.88 kB / 1.13 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005604/0.987, allocations: 147 kB / 1.13 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.9873, allocations: 91.48 kB / 1.13 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.9874, allocations: 47.95 kB / 1.13 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004218/0.9879, allocations: 374.6 kB / 1.13 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000324/0.9882, allocations: 138.5 kB / 1.131 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003245/0.9885, allocations: 127.4 kB / 1.131 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.9886, allocations: 83.45 kB / 1.131 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.9887, allocations: 4 kB / 1.131 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.199e-05/0.9887, allocations: 8 kB / 1.131 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.865e-05/0.9887, allocations: 19.86 kB / 1.131 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.335e-05/0.9888, allocations: 109.2 kB / 1.131 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.989, allocations: 183.2 kB / 1.131 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.989, allocations: 0 / 1.131 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9891, allocations: 0 / 1.131 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.9891, allocations: 0 / 1.131 GB, free: 10.46 MB / 0.8887 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.0004522/0.9895, allocations: 451 kB / 1.132 GB, free: 9.969 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.9896, allocations: 8.031 kB / 1.132 GB, free: 9.961 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.9896, allocations: 27.66 kB / 1.132 GB, free: 9.934 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.9899, allocations: 246.6 kB / 1.132 GB, free: 9.652 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.99, allocations: 16.44 kB / 1.132 GB, free: 9.633 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.99, allocations: 16 kB / 1.132 GB, free: 9.617 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.9903, allocations: 239.8 kB / 1.132 GB, free: 9.352 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.9904, allocations: 3.938 kB / 1.132 GB, free: 9.348 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.9904, allocations: 11.94 kB / 1.132 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.9904, allocations: 8 kB / 1.132 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.9906, allocations: 87.83 kB / 1.132 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.9917, allocations: 1.441 MB / 1.134 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.938e-05/0.9918, allocations: 165.1 kB / 1.134 GB, free: 7.543 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.269e-05/0.9918, allocations: 80.14 kB / 1.134 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.9919, allocations: 75.28 kB / 1.134 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.083e-05/0.9919, allocations: 113.9 kB / 1.134 GB, free: 7.266 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.9919, allocations: 4 kB / 1.134 GB, free: 7.262 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.0001145/0.992, allocations: 49.36 kB / 1.134 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.9921, allocations: 126.7 kB / 1.134 GB, free: 7.07 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/0.9924, allocations: 291.1 kB / 1.134 GB, free: 6.773 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.9925, allocations: 29.64 kB / 1.134 GB, free: 6.738 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.9926, allocations: 143.9 kB / 1.135 GB, free: 6.594 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-06/0.9926, allocations: 0 / 1.135 GB, free: 6.594 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.9926, allocations: 17.72 kB / 1.135 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.9927, allocations: 338.8 kB / 1.135 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-06/0.9928, allocations: 0 / 1.135 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.752e-05/0.9928, allocations: 27.44 kB / 1.135 GB, free: 6.191 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.791e-05/0.9929, allocations: 35.38 kB / 1.135 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9929, allocations: 0 / 1.135 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001518/0.993, allocations: 81.28 kB / 1.135 GB, free: 6.059 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.993, allocations: 7.938 kB / 1.135 GB, free: 6.051 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.9931, allocations: 4 kB / 1.135 GB, free: 6.047 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.9931, allocations: 0 / 1.135 GB, free: 6.047 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.643e-05/0.9931, allocations: 7.984 kB / 1.135 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.9931, allocations: 4.125 kB / 1.135 GB, free: 6.035 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.075e-05/0.9932, allocations: 23.69 kB / 1.135 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.9932, allocations: 4 kB / 1.135 GB, free: 6.008 MB / 0.8887 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.0001233/0.9934, allocations: 201.1 kB / 1.135 GB, free: 5.801 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-05/0.9934, allocations: 124.6 kB / 1.135 GB, free: 5.672 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.394e-05/0.9935, allocations: 121.9 kB / 1.136 GB, free: 5.547 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.193e-05/0.9936, allocations: 176.3 kB / 1.136 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.265e-05/0.9937, allocations: 192.2 kB / 1.136 GB, free: 5.172 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-05/0.9937, allocations: 180.3 kB / 1.136 GB, free: 4.988 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.994, allocations: 469 kB / 1.137 GB, free: 4.473 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.224e-05/0.9941, allocations: 101 kB / 1.137 GB, free: 4.367 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.9941, allocations: 108.9 kB / 1.137 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.958e-05/0.9942, allocations: 188.2 kB / 1.137 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.917e-05/0.9943, allocations: 176.3 kB / 1.137 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.249e-05/0.9943, allocations: 184.2 kB / 1.137 GB, free: 3.695 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.635e-05/0.9944, allocations: 176.3 kB / 1.137 GB, free: 3.516 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.9946, allocations: 339.5 kB / 1.138 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.9947, allocations: 197.8 kB / 1.138 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.352e-05/0.9948, allocations: 184.3 kB / 1.138 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.9949, allocations: 101 kB / 1.138 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.995, allocations: 188.2 kB / 1.138 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/0.995, allocations: 101 kB / 1.138 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000193/0.9952, allocations: 213.9 kB / 1.139 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9952, allocations: 4 kB / 1.139 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002434/0.9955, allocations: 20 kB / 1.139 GB, free: 2.121 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 (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.0001443/0.9956, allocations: 178.5 kB / 1.139 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 7.03e-05/0.9957, allocations: 11.94 kB / 1.139 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.9957, allocations: 0 / 1.139 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 3.877e-06/0.9957, allocations: 4 kB / 1.139 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008632/0.9966, allocations: 0.5938 MB / 1.139 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.9971, allocations: 413.7 kB / 1.14 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.9974, allocations: 0.7248 MB / 1.141 GB, free: 136 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 7.404e-05/0.9975, allocations: 21.94 kB / 1.141 GB, free: 116 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.9975, allocations: 19.44 kB / 1.141 GB, free: 96 kB / 0.8887 GB Notification: Performance of SimCode: time 2.61e-07/0.9975, allocations: 0 / 1.141 GB, free: 96 kB / 0.8887 GB Notification: Performance of Templates: time 0.005137/1.003, allocations: 2.293 MB / 1.143 GB, free: 13.83 MB / 0.9044 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