Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001472/0.001472, allocations: 112.6 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.001667/0.001668, allocations: 196 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.529/1.529, 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.34/2.34, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 62.64 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.303, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.8732/1.176, allocations: 174 MB / 1.121 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009873/1.186, allocations: 9.524 MB / 1.13 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000506/1.187, allocations: 9.5 kB / 1.13 GB, free: 5.453 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.0006893/1.188, allocations: 190.8 kB / 1.131 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003051/1.188, allocations: 86.95 kB / 1.131 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/1.188, allocations: 68.09 kB / 1.131 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004388/1.189, allocations: 328.4 kB / 1.131 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003618/1.189, allocations: 212.8 kB / 1.131 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003444/1.189, allocations: 168.2 kB / 1.131 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/1.189, allocations: 121.7 kB / 1.132 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/1.189, allocations: 23.53 kB / 1.132 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.008e-05/1.189, allocations: 21.16 kB / 1.132 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/1.19, allocations: 74.47 kB / 1.132 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001406/1.19, allocations: 131.1 kB / 1.132 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004012/1.19, allocations: 293.7 kB / 1.132 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.19, allocations: 0 / 1.132 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.553e-06/1.19, allocations: 1.562 kB / 1.132 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.402e-06/1.19, allocations: 0 / 1.132 GB, free: 5.383 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.000763/1.191, allocations: 0.5143 MB / 1.133 GB, free: 20.96 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/1.191, allocations: 9.781 kB / 1.133 GB, free: 20.96 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/1.191, allocations: 31.97 kB / 1.133 GB, free: 20.94 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004636/1.192, allocations: 278.2 kB / 1.133 GB, free: 20.72 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/1.192, allocations: 21.47 kB / 1.133 GB, free: 20.72 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/1.192, allocations: 23.03 kB / 1.133 GB, free: 20.72 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005545/1.192, allocations: 322.1 kB / 1.133 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/1.192, allocations: 3.781 kB / 1.133 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/1.192, allocations: 14.25 kB / 1.133 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/1.192, allocations: 6.938 kB / 1.133 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/1.193, allocations: 144.7 kB / 1.133 GB, free: 20.57 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/1.194, allocations: 1.813 MB / 1.135 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/1.194, allocations: 175.1 kB / 1.135 GB, free: 18.92 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/1.194, allocations: 81.23 kB / 1.135 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.155e-05/1.194, allocations: 76.22 kB / 1.135 GB, free: 18.76 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/1.194, allocations: 115 kB / 1.136 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/1.194, allocations: 0 / 1.136 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001021/1.194, allocations: 54.64 kB / 1.136 GB, free: 18.6 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/1.194, allocations: 136.3 kB / 1.136 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/1.195, allocations: 371.1 kB / 1.136 GB, free: 18.35 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/1.195, allocations: 25.7 kB / 1.136 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/1.195, allocations: 170.8 kB / 1.136 GB, free: 18.22 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.989e-06/1.195, allocations: 1.188 kB / 1.136 GB, free: 18.22 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/1.195, allocations: 17.83 kB / 1.136 GB, free: 18.2 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001832/1.195, allocations: 336.6 kB / 1.137 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/1.195, allocations: 5.625 kB / 1.137 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.475e-05/1.195, allocations: 37.14 kB / 1.137 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.212e-05/1.195, allocations: 50.05 kB / 1.137 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.195, allocations: 3.938 kB / 1.137 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001988/1.196, allocations: 87.28 kB / 1.137 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/1.196, allocations: 5.031 kB / 1.137 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.196, allocations: 1.125 kB / 1.137 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/1.196, allocations: 2.656 kB / 1.137 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.993e-05/1.196, allocations: 11.3 kB / 1.137 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.196, allocations: 2.484 kB / 1.137 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.645e-05/1.196, allocations: 35.38 kB / 1.137 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/1.196, allocations: 5.625 kB / 1.137 GB, free: 17.73 MB / 0.8731 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.0001892/1.196, allocations: 210.2 kB / 1.137 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/1.196, allocations: 135.3 kB / 1.137 GB, free: 17.42 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.427e-05/1.196, allocations: 126.6 kB / 1.137 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.694e-05/1.196, allocations: 183.2 kB / 1.137 GB, free: 17.12 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.981e-05/1.197, allocations: 188 kB / 1.138 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.052e-05/1.197, allocations: 178.4 kB / 1.138 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/1.197, allocations: 493 kB / 1.138 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.891e-05/1.197, allocations: 106.5 kB / 1.138 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.419e-05/1.197, allocations: 107.2 kB / 1.139 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.069e-05/1.197, allocations: 183.8 kB / 1.139 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-05/1.197, allocations: 184.2 kB / 1.139 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.391e-05/1.197, allocations: 177.8 kB / 1.139 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.401e-05/1.197, allocations: 182.6 kB / 1.139 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/1.198, allocations: 333.7 kB / 1.14 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/1.198, allocations: 215.6 kB / 1.14 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/1.198, allocations: 179.1 kB / 1.14 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/1.198, allocations: 109.7 kB / 1.14 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/1.198, allocations: 177.3 kB / 1.14 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/1.198, allocations: 105.5 kB / 1.14 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003706/1.199, allocations: 270.8 kB / 1.141 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.199, allocations: 4.531 kB / 1.141 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003195/1.199, allocations: 31.59 kB / 1.141 GB, free: 14.16 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.0001728/1.199, allocations: 172.1 kB / 1.141 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.799e-05/1.199, allocations: 23.39 kB / 1.141 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.199, allocations: 0 / 1.141 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/1.199, allocations: 0 / 1.141 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009556/1.2, allocations: 0.5495 MB / 1.141 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007824/1.201, allocations: 441.8 kB / 1.142 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/1.201, allocations: 0.7535 MB / 1.142 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001041/1.201, allocations: 39.47 kB / 1.142 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/1.201, allocations: 18.94 kB / 1.143 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of SimCode: time 4.91e-07/1.201, allocations: 1.688 kB / 1.143 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of Templates: time 0.007951/1.209, allocations: 3.147 MB / 1.146 GB, free: 12.35 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches