Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 103 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002188/0.002188, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.836/1.836, allocations: 230.6 MB / 252.8 MB, free: 9.148 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.353/3.353, allocations: 0.4899 GB / 0.7915 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 69.73 kB / 1.149 GB, free: 26.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4183, allocations: 176.1 MB / 1.321 GB, free: 2.902 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2322/0.6505, allocations: 173.9 MB / 1.491 GB, free: 4.395 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008043/0.6585, allocations: 6.044 MB / 1.497 GB, free: 14.33 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003634/0.6589, allocations: 11.94 kB / 1.497 GB, free: 14.32 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007108/0.6596, allocations: 194.7 kB / 1.497 GB, free: 14.13 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0003959/0.66, allocations: 95.36 kB / 1.497 GB, free: 14.04 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.6615, allocations: 0.5294 MB / 1.498 GB, free: 13.5 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0005387/0.662, allocations: 414.7 kB / 1.498 GB, free: 13.1 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/0.6623, allocations: 99.66 kB / 1.498 GB, free: 13 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003327/0.6626, allocations: 199.2 kB / 1.498 GB, free: 12.8 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.6628, allocations: 155.4 kB / 1.499 GB, free: 12.65 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.6628, allocations: 23.94 kB / 1.499 GB, free: 12.62 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008441/0.6637, allocations: 0.4909 MB / 1.499 GB, free: 12.13 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.6638, allocations: 71.77 kB / 1.499 GB, free: 12.06 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.6639, allocations: 103.5 kB / 1.499 GB, free: 11.96 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0007251/0.6646, allocations: 478.2 kB / 1.5 GB, free: 11.49 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.6646, allocations: 0 / 1.5 GB, free: 11.49 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.903e-06/0.6646, allocations: 0 / 1.5 GB, free: 11.49 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.6647, allocations: 0 / 1.5 GB, free: 11.49 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007636/0.6654, allocations: 0.5219 MB / 1.5 GB, free: 10.92 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.6655, allocations: 15.98 kB / 1.5 GB, free: 10.91 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003189/0.6658, allocations: 43.84 kB / 1.5 GB, free: 10.86 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004747/0.6663, allocations: 266.6 kB / 1.501 GB, free: 10.56 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001802/0.6664, allocations: 131.4 kB / 1.501 GB, free: 10.41 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.6665, allocations: 28 kB / 1.501 GB, free: 10.38 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005082/0.667, allocations: 290.8 kB / 1.501 GB, free: 10.06 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.667, allocations: 4 kB / 1.501 GB, free: 10.05 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.667, allocations: 15.94 kB / 1.501 GB, free: 10.04 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.6671, allocations: 4 kB / 1.501 GB, free: 10.04 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.6674, allocations: 164.5 kB / 1.501 GB, free: 9.875 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.669, allocations: 1.583 MB / 1.503 GB, free: 8.203 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.6691, allocations: 173.1 kB / 1.503 GB, free: 8.023 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.6692, allocations: 80.14 kB / 1.503 GB, free: 7.941 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 4.072e-05/0.6692, allocations: 75.28 kB / 1.503 GB, free: 7.867 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.509e-05/0.6693, allocations: 105.8 kB / 1.503 GB, free: 7.754 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.6693, allocations: 0 / 1.503 GB, free: 7.754 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.0001142/0.6694, allocations: 57.42 kB / 1.503 GB, free: 7.691 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/0.6695, allocations: 130.7 kB / 1.503 GB, free: 7.551 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000412/0.6699, allocations: 314.6 kB / 1.504 GB, free: 7.234 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.6699, allocations: 25.7 kB / 1.504 GB, free: 7.203 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.6701, allocations: 187.7 kB / 1.504 GB, free: 7.016 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.585e-06/0.6701, allocations: 7.984 kB / 1.504 GB, free: 7.008 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.084e-05/0.6702, allocations: 45.66 kB / 1.504 GB, free: 6.957 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.6704, allocations: 326.8 kB / 1.504 GB, free: 6.629 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.571e-05/0.6704, allocations: 43.97 kB / 1.504 GB, free: 6.586 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.6706, allocations: 157.1 kB / 1.504 GB, free: 6.371 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.6709, allocations: 200.9 kB / 1.504 GB, free: 6.113 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.6709, allocations: 7.984 kB / 1.505 GB, free: 6.105 MB / 1.201 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004468/0.6714, allocations: 213 kB / 1.505 GB, free: 5.891 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.6714, allocations: 11.94 kB / 1.505 GB, free: 5.879 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.6714, allocations: 4.625 kB / 1.505 GB, free: 5.875 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.6714, allocations: 8 kB / 1.505 GB, free: 5.867 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.6716, allocations: 43.92 kB / 1.505 GB, free: 5.824 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/0.6716, allocations: 19.91 kB / 1.505 GB, free: 5.805 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.6718, allocations: 31.67 kB / 1.505 GB, free: 5.773 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.6718, allocations: 12 kB / 1.505 GB, free: 5.762 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001709/0.672, allocations: 217 kB / 1.505 GB, free: 5.539 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.576e-05/0.6721, allocations: 128.8 kB / 1.505 GB, free: 5.406 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.124e-05/0.6722, allocations: 121.7 kB / 1.505 GB, free: 5.277 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-05/0.6723, allocations: 188.3 kB / 1.505 GB, free: 5.086 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.58e-05/0.6723, allocations: 180.2 kB / 1.506 GB, free: 4.902 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.15e-05/0.6724, allocations: 180.2 kB / 1.506 GB, free: 4.719 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/0.6728, allocations: 485.1 kB / 1.506 GB, free: 4.188 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.344e-05/0.6729, allocations: 105 kB / 1.506 GB, free: 4.078 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.138e-05/0.6729, allocations: 112.9 kB / 1.506 GB, free: 3.961 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.638e-05/0.673, allocations: 180.2 kB / 1.507 GB, free: 3.777 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.809e-05/0.6731, allocations: 176.3 kB / 1.507 GB, free: 3.598 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.655e-05/0.6732, allocations: 184.2 kB / 1.507 GB, free: 3.41 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.322e-05/0.6733, allocations: 184.3 kB / 1.507 GB, free: 3.223 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.6734, allocations: 323.6 kB / 1.507 GB, free: 2.883 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.6736, allocations: 202 kB / 1.508 GB, free: 2.66 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.6737, allocations: 192.1 kB / 1.508 GB, free: 2.465 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.6739, allocations: 101 kB / 1.508 GB, free: 2.359 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.674, allocations: 184.2 kB / 1.508 GB, free: 2.172 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/0.674, allocations: 105 kB / 1.508 GB, free: 2.062 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002751/0.6743, allocations: 217.9 kB / 1.508 GB, free: 1.852 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.6743, allocations: 0 / 1.508 GB, free: 1.852 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003947/0.6747, allocations: 59.83 kB / 1.508 GB, free: 1.793 MB / 1.201 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.000299/0.675, allocations: 206.4 kB / 1.509 GB, free: 1.578 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.6752, allocations: 79.78 kB / 1.509 GB, free: 1.5 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6752, allocations: 1.25 kB / 1.509 GB, free: 1.5 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.6752, allocations: 0 / 1.509 GB, free: 1.5 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005776/0.6758, allocations: 489.2 kB / 1.509 GB, free: 1.016 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000654/0.6765, allocations: 388.6 kB / 1.51 GB, free: 0.6133 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.6769, allocations: 0.7476 MB / 1.51 GB, free: 15.84 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.677, allocations: 33.94 kB / 1.51 GB, free: 15.8 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.677, allocations: 19.44 kB / 1.51 GB, free: 15.79 MB / 1.217 GB Notification: Performance of SimCode: time 6.81e-07/0.677, allocations: 0 / 1.51 GB, free: 15.79 MB / 1.217 GB Notification: Performance of Templates: time 0.006019/0.6831, allocations: 1.874 MB / 1.512 GB, free: 13.92 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.092231755144894]