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.001601/0.001601, allocations: 102.1 kB / 19.7 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.002118/0.002118, allocations: 218.1 kB / 23.01 MB, free: 4.609 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.63/1.63, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.582/3.582, allocations: 0.49 GB / 0.7958 GB, free: 33.48 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.002078/0.002078, allocations: 76.47 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4313, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2157/0.647, allocations: 174.1 MB / 1.497 GB, free: 2.723 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.00746/0.6545, allocations: 6.103 MB / 1.503 GB, free: 12.6 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003384/0.6548, allocations: 15.88 kB / 1.503 GB, free: 12.59 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006402/0.6554, allocations: 194.7 kB / 1.503 GB, free: 12.39 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0003321/0.6558, allocations: 95.38 kB / 1.503 GB, free: 12.3 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.6571, allocations: 0.5527 MB / 1.504 GB, free: 11.75 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0005249/0.6577, allocations: 406.8 kB / 1.504 GB, free: 11.35 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.6579, allocations: 96.2 kB / 1.504 GB, free: 11.25 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003112/0.6582, allocations: 195.2 kB / 1.505 GB, free: 11.05 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.6585, allocations: 155.4 kB / 1.505 GB, free: 10.9 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.6585, allocations: 20 kB / 1.505 GB, free: 10.88 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008845/0.6594, allocations: 0.5025 MB / 1.505 GB, free: 10.38 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.6595, allocations: 71.75 kB / 1.505 GB, free: 10.31 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.6596, allocations: 107.5 kB / 1.505 GB, free: 10.2 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0006808/0.6603, allocations: 478.2 kB / 1.506 GB, free: 9.734 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.6603, allocations: 0 / 1.506 GB, free: 9.734 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6603, allocations: 0 / 1.506 GB, free: 9.734 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.6603, allocations: 0 / 1.506 GB, free: 9.734 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.0006447/0.661, allocations: 461.3 kB / 1.506 GB, free: 9.254 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.661, allocations: 12.02 kB / 1.506 GB, free: 9.242 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002859/0.6613, allocations: 43.84 kB / 1.506 GB, free: 9.199 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.6617, allocations: 200.8 kB / 1.507 GB, free: 8.977 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.6619, allocations: 238.1 kB / 1.507 GB, free: 8.691 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.662, allocations: 24 kB / 1.507 GB, free: 8.668 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004756/0.6624, allocations: 293.9 kB / 1.507 GB, free: 8.348 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.6624, allocations: 7.922 kB / 1.507 GB, free: 8.34 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.6625, allocations: 12 kB / 1.507 GB, free: 8.328 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.6625, allocations: 4 kB / 1.507 GB, free: 8.324 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.6628, allocations: 156.6 kB / 1.507 GB, free: 8.172 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.6643, allocations: 1.548 MB / 1.509 GB, free: 6.543 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.6644, allocations: 181.1 kB / 1.509 GB, free: 6.355 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.43e-05/0.6645, allocations: 80.14 kB / 1.509 GB, free: 6.273 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.6645, allocations: 75.28 kB / 1.509 GB, free: 6.199 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.731e-05/0.6646, allocations: 105.8 kB / 1.509 GB, free: 6.086 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.6646, allocations: 7.938 kB / 1.509 GB, free: 6.078 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 9.739e-05/0.6647, allocations: 53.48 kB / 1.509 GB, free: 6.02 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.6647, allocations: 130.6 kB / 1.509 GB, free: 5.879 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003754/0.6651, allocations: 313.8 kB / 1.51 GB, free: 5.559 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.6651, allocations: 25.7 kB / 1.51 GB, free: 5.527 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.6653, allocations: 191.6 kB / 1.51 GB, free: 5.336 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-06/0.6653, allocations: 4 kB / 1.51 GB, free: 5.332 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.239e-05/0.6653, allocations: 45.66 kB / 1.51 GB, free: 5.281 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.6655, allocations: 330.8 kB / 1.51 GB, free: 4.949 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.901e-05/0.6656, allocations: 39.97 kB / 1.51 GB, free: 4.91 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.6658, allocations: 158.7 kB / 1.51 GB, free: 4.695 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.666, allocations: 196.8 kB / 1.511 GB, free: 4.441 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.666, allocations: 4 kB / 1.511 GB, free: 4.438 MB / 1.201 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004121/0.6664, allocations: 209.1 kB / 1.511 GB, free: 4.227 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.6665, allocations: 12.56 kB / 1.511 GB, free: 4.215 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.6665, allocations: 7.984 kB / 1.511 GB, free: 4.207 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.6665, allocations: 12 kB / 1.511 GB, free: 4.195 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.6666, allocations: 35.92 kB / 1.511 GB, free: 4.16 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.6667, allocations: 11.94 kB / 1.511 GB, free: 4.148 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.6668, allocations: 31.73 kB / 1.511 GB, free: 4.117 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.6668, allocations: 12 kB / 1.511 GB, free: 4.105 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.0001547/0.667, allocations: 217.5 kB / 1.511 GB, free: 3.883 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-05/0.6671, allocations: 128.8 kB / 1.511 GB, free: 3.75 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.541e-05/0.6672, allocations: 129.6 kB / 1.511 GB, free: 3.617 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.352e-05/0.6673, allocations: 188.3 kB / 1.512 GB, free: 3.426 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-05/0.6673, allocations: 184.1 kB / 1.512 GB, free: 3.238 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-05/0.6674, allocations: 180.2 kB / 1.512 GB, free: 3.055 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.6678, allocations: 452.2 kB / 1.512 GB, free: 2.562 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.696e-05/0.6678, allocations: 112.9 kB / 1.512 GB, free: 2.445 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.299e-05/0.6678, allocations: 105 kB / 1.513 GB, free: 2.336 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.642e-05/0.6679, allocations: 184.1 kB / 1.513 GB, free: 2.148 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.063e-05/0.668, allocations: 176.3 kB / 1.513 GB, free: 1.969 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.137e-05/0.6681, allocations: 176.3 kB / 1.513 GB, free: 1.789 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-05/0.6682, allocations: 188.2 kB / 1.513 GB, free: 1.598 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.6683, allocations: 327.6 kB / 1.514 GB, free: 1.254 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.994e-05/0.6684, allocations: 124.9 kB / 1.514 GB, free: 1.125 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.731e-05/0.6685, allocations: 180.2 kB / 1.514 GB, free: 0.9414 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.6687, allocations: 112.9 kB / 1.514 GB, free: 0.8242 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.222e-05/0.6687, allocations: 184.3 kB / 1.514 GB, free: 0.6367 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/0.6688, allocations: 108.9 kB / 1.514 GB, free: 0.5234 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002447/0.669, allocations: 217.2 kB / 1.514 GB, free: 320 kB / 1.201 GB Notification: Performance of sort global known variables: time 1.01e-07/0.669, allocations: 0 / 1.514 GB, free: 320 kB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003694/0.6694, allocations: 55.83 kB / 1.515 GB, free: 264 kB / 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.0002535/0.6697, allocations: 206.4 kB / 1.515 GB, free: 44 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.6699, allocations: 80.78 kB / 1.515 GB, free: 15.96 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6699, allocations: 0 / 1.515 GB, free: 15.96 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.6699, allocations: 256 / 1.515 GB, free: 15.96 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005216/0.6704, allocations: 490.2 kB / 1.515 GB, free: 15.48 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/0.671, allocations: 418.7 kB / 1.516 GB, free: 15.04 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.6714, allocations: 0.7437 MB / 1.516 GB, free: 14.27 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.6715, allocations: 19.44 kB / 1.516 GB, free: 14.25 MB / 1.217 GB Notification: Performance of SimCode: time 3.2e-07/0.6715, allocations: 0 / 1.516 GB, free: 14.25 MB / 1.217 GB Notification: Performance of Templates: time 0.005308/0.6768, allocations: 2.822 MB / 1.519 GB, free: 11.43 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/jenkins1/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: 12.62392973000533]