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.001222/0.001221, allocations: 101.9 kB / 16.36 MB, free: 6.469 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.001343/0.001343, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.499/1.499, 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.272/2.272, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 61.75 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3111, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.9702/1.281, allocations: 174 MB / 1.121 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01304/1.294, allocations: 9.519 MB / 1.13 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007438/1.295, allocations: 9.406 kB / 1.13 GB, free: 5.438 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.0009788/1.296, allocations: 193.1 kB / 1.131 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004681/1.297, allocations: 91.7 kB / 1.131 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/1.297, allocations: 66.73 kB / 1.131 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006413/1.298, allocations: 327.3 kB / 1.131 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005503/1.298, allocations: 200.9 kB / 1.131 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005614/1.299, allocations: 175.6 kB / 1.131 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/1.299, allocations: 118.8 kB / 1.132 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.254e-05/1.299, allocations: 25.69 kB / 1.132 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.864e-05/1.299, allocations: 22.73 kB / 1.132 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001614/1.299, allocations: 74.64 kB / 1.132 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002369/1.3, allocations: 131 kB / 1.132 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005557/1.3, allocations: 290.1 kB / 1.132 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.3, allocations: 0 / 1.132 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.615e-06/1.3, allocations: 1.094 kB / 1.132 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.557e-06/1.3, allocations: 0 / 1.132 GB, free: 5.371 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.001014/1.301, allocations: 0.5187 MB / 1.133 GB, free: 20.94 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/1.301, allocations: 10.3 kB / 1.133 GB, free: 20.94 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/1.301, allocations: 33.16 kB / 1.133 GB, free: 20.93 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/1.302, allocations: 272.6 kB / 1.133 GB, free: 20.71 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/1.302, allocations: 32.95 kB / 1.133 GB, free: 20.7 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/1.302, allocations: 23.34 kB / 1.133 GB, free: 20.7 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005417/1.303, allocations: 321.5 kB / 1.133 GB, free: 20.56 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/1.303, allocations: 3.797 kB / 1.133 GB, free: 20.56 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/1.303, allocations: 9.875 kB / 1.133 GB, free: 20.56 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/1.303, allocations: 7.75 kB / 1.133 GB, free: 20.56 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/1.303, allocations: 145.5 kB / 1.133 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/1.305, allocations: 1.81 MB / 1.135 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/1.305, allocations: 173.5 kB / 1.135 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/1.305, allocations: 80.14 kB / 1.135 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/1.305, allocations: 80.5 kB / 1.135 GB, free: 18.74 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/1.305, allocations: 112 kB / 1.136 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.305, allocations: 1.188 kB / 1.136 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001032/1.305, allocations: 57.61 kB / 1.136 GB, free: 18.58 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/1.305, allocations: 126.7 kB / 1.136 GB, free: 18.44 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004627/1.305, allocations: 371.5 kB / 1.136 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/1.305, allocations: 27.02 kB / 1.136 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/1.306, allocations: 174.7 kB / 1.136 GB, free: 18.2 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-06/1.306, allocations: 6.062 kB / 1.136 GB, free: 18.2 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/1.306, allocations: 13.81 kB / 1.136 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.306, allocations: 339.5 kB / 1.137 GB, free: 17.87 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/1.306, allocations: 6.266 kB / 1.137 GB, free: 17.87 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.995e-05/1.306, allocations: 32.33 kB / 1.137 GB, free: 17.83 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.687e-05/1.306, allocations: 46.81 kB / 1.137 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/1.306, allocations: 2.844 kB / 1.137 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001835/1.306, allocations: 92.03 kB / 1.137 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/1.306, allocations: 7.875 kB / 1.137 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.306, allocations: 5.344 kB / 1.137 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/1.306, allocations: 2.766 kB / 1.137 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.492e-05/1.306, allocations: 10.91 kB / 1.137 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.306, allocations: 1.156 kB / 1.137 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.365e-05/1.306, allocations: 26.88 kB / 1.137 GB, free: 17.71 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/1.306, allocations: 4.469 kB / 1.137 GB, free: 17.71 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.0001557/1.307, allocations: 210.2 kB / 1.137 GB, free: 17.53 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.461e-05/1.307, allocations: 140 kB / 1.137 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.544e-05/1.307, allocations: 128.8 kB / 1.137 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.263e-05/1.307, allocations: 181 kB / 1.137 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-05/1.307, allocations: 181.5 kB / 1.138 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.988e-05/1.307, allocations: 183.3 kB / 1.138 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/1.307, allocations: 495.5 kB / 1.138 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.78e-05/1.307, allocations: 101.7 kB / 1.138 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-05/1.307, allocations: 111 kB / 1.139 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.966e-05/1.308, allocations: 180.3 kB / 1.139 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-05/1.308, allocations: 176.3 kB / 1.139 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.864e-05/1.308, allocations: 188.7 kB / 1.139 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.176e-05/1.308, allocations: 181.1 kB / 1.139 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/1.308, allocations: 337.8 kB / 1.14 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/1.308, allocations: 210.5 kB / 1.14 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/1.308, allocations: 179.9 kB / 1.14 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/1.308, allocations: 110.3 kB / 1.14 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/1.308, allocations: 179.9 kB / 1.14 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/1.308, allocations: 107.1 kB / 1.14 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004117/1.309, allocations: 269.4 kB / 1.141 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/1.309, allocations: 0 / 1.141 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003004/1.309, allocations: 31.97 kB / 1.141 GB, free: 14.15 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.0001777/1.309, allocations: 184.4 kB / 1.141 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.728e-05/1.309, allocations: 13.12 kB / 1.141 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.309, allocations: 0 / 1.141 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.338e-06/1.309, allocations: 6.188 kB / 1.141 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000862/1.31, allocations: 0.5456 MB / 1.141 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006502/1.311, allocations: 446.1 kB / 1.142 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/1.311, allocations: 0.7531 MB / 1.142 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001045/1.311, allocations: 27.42 kB / 1.142 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/1.311, allocations: 19.47 kB / 1.142 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of SimCode: time 6.11e-07/1.312, allocations: 5.406 kB / 1.142 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of Templates: time 0.007808/1.319, allocations: 3.153 MB / 1.146 GB, free: 12.33 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 cvode -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