Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001676/0.001676, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002186/0.002186, allocations: 215.8 kB / 23.01 MB, free: 4.566 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.321/3.321, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002367/0.002367, allocations: 65.34 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3957, allocations: 180.2 MB / 1.354 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2296/0.6253, allocations: 174.1 MB / 1.524 GB, free: 9.191 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.00779/0.6331, allocations: 6.111 MB / 1.53 GB, free: 3.059 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003502/0.6334, allocations: 15.88 kB / 1.53 GB, free: 3.043 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0007003/0.6341, allocations: 186.8 kB / 1.53 GB, free: 2.859 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.6345, allocations: 95.38 kB / 1.53 GB, free: 2.766 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.636, allocations: 0.5489 MB / 1.531 GB, free: 2.215 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0005536/0.6365, allocations: 422.4 kB / 1.531 GB, free: 1.801 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002658/0.6368, allocations: 93.52 kB / 1.531 GB, free: 1.707 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003505/0.6371, allocations: 199.3 kB / 1.532 GB, free: 1.512 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.6374, allocations: 151.4 kB / 1.532 GB, free: 1.363 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.6374, allocations: 16 kB / 1.532 GB, free: 1.348 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008897/0.6383, allocations: 0.5064 MB / 1.532 GB, free: 0.8398 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.6384, allocations: 75.75 kB / 1.532 GB, free: 0.7656 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.6385, allocations: 99.48 kB / 1.532 GB, free: 0.668 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0007261/0.6393, allocations: 478.3 kB / 1.533 GB, free: 204 kB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6393, allocations: 0 / 1.533 GB, free: 204 kB / 1.217 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6393, allocations: 0 / 1.533 GB, free: 204 kB / 1.217 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.6393, allocations: 3.938 kB / 1.533 GB, free: 200 kB / 1.217 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.0006991/0.64, allocations: 457.3 kB / 1.533 GB, free: 15.72 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.64, allocations: 12.03 kB / 1.533 GB, free: 15.71 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003011/0.6403, allocations: 47.8 kB / 1.533 GB, free: 15.66 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004501/0.6408, allocations: 208.7 kB / 1.534 GB, free: 15.43 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002224/0.641, allocations: 234.1 kB / 1.534 GB, free: 15.15 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.641, allocations: 24 kB / 1.534 GB, free: 15.12 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004716/0.6415, allocations: 293.9 kB / 1.534 GB, free: 14.8 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.6415, allocations: 0 / 1.534 GB, free: 14.8 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.6416, allocations: 12 kB / 1.534 GB, free: 14.79 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.6416, allocations: 12 kB / 1.534 GB, free: 14.78 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000304/0.6419, allocations: 160.6 kB / 1.534 GB, free: 14.62 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.6434, allocations: 1.548 MB / 1.536 GB, free: 12.99 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.6435, allocations: 165.1 kB / 1.536 GB, free: 12.82 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.803e-05/0.6435, allocations: 84.14 kB / 1.536 GB, free: 12.73 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.6436, allocations: 75.28 kB / 1.536 GB, free: 12.66 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.121e-05/0.6436, allocations: 113.8 kB / 1.536 GB, free: 12.54 MB / 1.232 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.6436, allocations: 0 / 1.536 GB, free: 12.54 MB / 1.232 GB Notification: Performance of matching and sorting (n=0): time 0.0001145/0.6438, allocations: 57.5 kB / 1.536 GB, free: 12.48 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.6438, allocations: 126.7 kB / 1.536 GB, free: 12.34 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/0.6442, allocations: 309.8 kB / 1.537 GB, free: 12.03 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.6442, allocations: 25.7 kB / 1.537 GB, free: 12 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.6444, allocations: 199.6 kB / 1.537 GB, free: 11.8 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-06/0.6444, allocations: 4 kB / 1.537 GB, free: 11.79 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.53e-05/0.6445, allocations: 45.66 kB / 1.537 GB, free: 11.74 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.6447, allocations: 326.8 kB / 1.537 GB, free: 11.41 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.901e-05/0.6447, allocations: 35.97 kB / 1.537 GB, free: 11.38 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.6449, allocations: 166.6 kB / 1.537 GB, free: 11.16 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.6452, allocations: 200.9 kB / 1.538 GB, free: 10.9 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6452, allocations: 0 / 1.538 GB, free: 10.9 MB / 1.232 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004295/0.6456, allocations: 213.1 kB / 1.538 GB, free: 10.68 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.6456, allocations: 11.94 kB / 1.538 GB, free: 10.67 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.6457, allocations: 4 kB / 1.538 GB, free: 10.67 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.6457, allocations: 4 kB / 1.538 GB, free: 10.66 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.6458, allocations: 48.53 kB / 1.538 GB, free: 10.62 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.6459, allocations: 7.938 kB / 1.538 GB, free: 10.61 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.646, allocations: 35.73 kB / 1.538 GB, free: 10.57 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.6461, allocations: 12 kB / 1.538 GB, free: 10.56 MB / 1.232 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.0001776/0.6462, allocations: 225.6 kB / 1.538 GB, free: 10.33 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.794e-05/0.6463, allocations: 120.8 kB / 1.538 GB, free: 10.21 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.61e-05/0.6464, allocations: 121.8 kB / 1.538 GB, free: 10.08 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.364e-05/0.6465, allocations: 188.2 kB / 1.539 GB, free: 9.887 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.976e-05/0.6466, allocations: 188.2 kB / 1.539 GB, free: 9.695 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.289e-05/0.6467, allocations: 184.2 kB / 1.539 GB, free: 9.508 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/0.647, allocations: 452.2 kB / 1.539 GB, free: 9.016 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.054e-05/0.6471, allocations: 105 kB / 1.539 GB, free: 8.906 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-05/0.6471, allocations: 108.9 kB / 1.54 GB, free: 8.793 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.011e-05/0.6472, allocations: 184.2 kB / 1.54 GB, free: 8.605 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.958e-05/0.6473, allocations: 192.2 kB / 1.54 GB, free: 8.41 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.547e-05/0.6474, allocations: 176.3 kB / 1.54 GB, free: 8.23 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.431e-05/0.6475, allocations: 176.3 kB / 1.54 GB, free: 8.051 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.6477, allocations: 331.6 kB / 1.541 GB, free: 7.703 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.6478, allocations: 132.8 kB / 1.541 GB, free: 7.566 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.6479, allocations: 180.2 kB / 1.541 GB, free: 7.383 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.648, allocations: 105 kB / 1.541 GB, free: 7.273 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.6481, allocations: 184.2 kB / 1.541 GB, free: 7.086 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.862e-05/0.6482, allocations: 105 kB / 1.541 GB, free: 6.977 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000251/0.6484, allocations: 221.2 kB / 1.541 GB, free: 6.762 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.6484, allocations: 4 kB / 1.541 GB, free: 6.758 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0003673/0.6488, allocations: 47.94 kB / 1.541 GB, free: 6.711 MB / 1.232 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.0002756/0.649, allocations: 202.4 kB / 1.542 GB, free: 6.5 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0002122/0.6493, allocations: 75.78 kB / 1.542 GB, free: 6.426 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6493, allocations: 0 / 1.542 GB, free: 6.426 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 3.566e-06/0.6493, allocations: 3.938 kB / 1.542 GB, free: 6.422 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005673/0.6498, allocations: 487.3 kB / 1.542 GB, free: 5.945 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006636/0.6505, allocations: 422.8 kB / 1.543 GB, free: 5.5 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.6509, allocations: 0.7398 MB / 1.543 GB, free: 4.73 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.6509, allocations: 19.44 kB / 1.543 GB, free: 4.711 MB / 1.232 GB Notification: Performance of SimCode: time 3.01e-07/0.6509, allocations: 0 / 1.543 GB, free: 4.711 MB / 1.232 GB Notification: Performance of Templates: time 0.005601/0.6565, allocations: 2.841 MB / 1.546 GB, free: 1.871 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.392114968999522]