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.00154/0.00154, allocations: 114.3 kB / 16.37 MB, free: 6 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.001654/0.001654, allocations: 195.9 kB / 17.31 MB, free: 5.613 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.424/1.424, 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 9.1.2-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 70.73 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3151, allocations: 140.4 MB / 0.9511 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.7491/1.064, allocations: 174 MB / 1.121 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009278/1.074, allocations: 9.509 MB / 1.13 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004379/1.074, allocations: 9.281 kB / 1.13 GB, free: 5.477 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.0007578/1.075, allocations: 191.9 kB / 1.131 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003068/1.075, allocations: 89.58 kB / 1.131 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/1.075, allocations: 64.61 kB / 1.131 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003507/1.076, allocations: 315.8 kB / 1.131 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002747/1.076, allocations: 154.9 kB / 1.131 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/1.076, allocations: 158.5 kB / 1.131 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/1.077, allocations: 106.5 kB / 1.131 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/1.077, allocations: 16.22 kB / 1.131 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.429e-05/1.077, allocations: 15.84 kB / 1.131 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.325e-05/1.077, allocations: 35.64 kB / 1.131 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.636e-05/1.077, allocations: 99.45 kB / 1.132 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/1.077, allocations: 218.6 kB / 1.132 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.077, allocations: 1.312 kB / 1.132 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.864e-06/1.077, allocations: 0.6562 kB / 1.132 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.613e-06/1.077, allocations: 4 kB / 1.132 GB, free: 5.422 MB / 0.8575 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.0005759/1.078, allocations: 478.6 kB / 1.132 GB, free: 21.01 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/1.078, allocations: 9.984 kB / 1.132 GB, free: 21.01 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/1.078, allocations: 23.09 kB / 1.132 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/1.078, allocations: 261.3 kB / 1.132 GB, free: 20.78 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/1.078, allocations: 19.98 kB / 1.133 GB, free: 20.78 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/1.078, allocations: 20.34 kB / 1.133 GB, free: 20.78 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/1.078, allocations: 232.8 kB / 1.133 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.078, allocations: 0 / 1.133 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/1.078, allocations: 12.69 kB / 1.133 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/1.078, allocations: 9.375 kB / 1.133 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/1.079, allocations: 92.25 kB / 1.133 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009793/1.08, allocations: 1.429 MB / 1.134 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.263e-05/1.08, allocations: 173.3 kB / 1.134 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.616e-05/1.08, allocations: 80.14 kB / 1.134 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/1.08, allocations: 77 kB / 1.135 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/1.08, allocations: 107.5 kB / 1.135 GB, free: 19 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/1.08, allocations: 0 / 1.135 GB, free: 19 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 7.795e-05/1.08, allocations: 50.56 kB / 1.135 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/1.08, allocations: 132.1 kB / 1.135 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/1.08, allocations: 284.9 kB / 1.135 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/1.08, allocations: 25.7 kB / 1.135 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.896e-05/1.08, allocations: 150.4 kB / 1.135 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/1.08, allocations: 1.25 kB / 1.135 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/1.08, allocations: 16.98 kB / 1.135 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001142/1.08, allocations: 337.2 kB / 1.136 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.275e-05/1.08, allocations: 9.016 kB / 1.136 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.712e-05/1.08, allocations: 27.59 kB / 1.136 GB, free: 18.22 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.484e-05/1.081, allocations: 31.5 kB / 1.136 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.081, allocations: 1.062 kB / 1.136 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000122/1.081, allocations: 80.38 kB / 1.136 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/1.081, allocations: 5.594 kB / 1.136 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.081, allocations: 1.219 kB / 1.136 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/1.081, allocations: 5.109 kB / 1.136 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.18e-05/1.081, allocations: 10.95 kB / 1.136 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/1.081, allocations: 1.5 kB / 1.136 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.73e-05/1.081, allocations: 22.16 kB / 1.136 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/1.081, allocations: 2.281 kB / 1.136 GB, free: 18.12 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001078/1.081, allocations: 207.7 kB / 1.136 GB, free: 17.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.219e-05/1.081, allocations: 127.2 kB / 1.136 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.574e-05/1.081, allocations: 120.3 kB / 1.136 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.386e-05/1.081, allocations: 179.8 kB / 1.136 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.909e-05/1.081, allocations: 186.8 kB / 1.137 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-05/1.081, allocations: 182 kB / 1.137 GB, free: 17.15 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/1.082, allocations: 474 kB / 1.137 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.279e-05/1.082, allocations: 104.9 kB / 1.137 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/1.082, allocations: 102.3 kB / 1.137 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.479e-05/1.082, allocations: 185.2 kB / 1.138 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.995e-05/1.082, allocations: 177.7 kB / 1.138 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.095e-05/1.082, allocations: 185.7 kB / 1.138 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.345e-05/1.082, allocations: 182.5 kB / 1.138 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/1.082, allocations: 324.6 kB / 1.138 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.015e-05/1.082, allocations: 201.8 kB / 1.139 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/1.082, allocations: 191.9 kB / 1.139 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/1.082, allocations: 104.8 kB / 1.139 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/1.082, allocations: 181.1 kB / 1.139 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/1.082, allocations: 107.3 kB / 1.139 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001887/1.083, allocations: 204.8 kB / 1.139 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/1.083, allocations: 1.203 kB / 1.139 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002387/1.083, allocations: 22.22 kB / 1.139 GB, free: 14.58 MB / 0.8731 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.0001221/1.083, allocations: 175.9 kB / 1.14 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.156e-05/1.083, allocations: 19.78 kB / 1.14 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.083, allocations: 2.531 kB / 1.14 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/1.083, allocations: 0 / 1.14 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007359/1.084, allocations: 0.5368 MB / 1.14 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005359/1.084, allocations: 360.8 kB / 1.14 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/1.085, allocations: 0.719 MB / 1.141 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.561e-05/1.085, allocations: 29.17 kB / 1.141 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/1.085, allocations: 16.22 kB / 1.141 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/1.085, allocations: 1.094 kB / 1.141 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of Templates: time 0.005755/1.091, allocations: 2.396 MB / 1.144 GB, free: 12.82 MB / 0.8731 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 -s cvode -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/jenkins1/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