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.001882/0.001882, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001988/0.001988, allocations: 209.8 kB / 22.99 MB, free: 4.984 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.645/1.645, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.384/3.384, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.002095/0.002095, allocations: 70.31 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5398/0.5419, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2419/0.7838, allocations: 150.5 MB / 1.474 GB, free: 9.895 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007848/0.7916, allocations: 5.523 MB / 1.479 GB, free: 4.355 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003906/0.792, allocations: 7.938 kB / 1.479 GB, free: 4.348 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007324/0.7928, allocations: 190.7 kB / 1.48 GB, free: 4.16 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.7931, allocations: 99.38 kB / 1.48 GB, free: 4.062 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.7946, allocations: 0.5177 MB / 1.48 GB, free: 3.543 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0005476/0.7951, allocations: 414.7 kB / 1.481 GB, free: 3.137 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002906/0.7954, allocations: 96.19 kB / 1.481 GB, free: 3.035 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003539/0.7958, allocations: 195.3 kB / 1.481 GB, free: 2.844 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.796, allocations: 155.3 kB / 1.481 GB, free: 2.691 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.7961, allocations: 19.94 kB / 1.481 GB, free: 2.672 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007067/0.7968, allocations: 382.9 kB / 1.481 GB, free: 2.297 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.7969, allocations: 67.81 kB / 1.482 GB, free: 2.23 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.797, allocations: 83.61 kB / 1.482 GB, free: 2.148 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0007064/0.7977, allocations: 458.2 kB / 1.482 GB, free: 1.699 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.7977, allocations: 0 / 1.482 GB, free: 1.699 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7977, allocations: 4 kB / 1.482 GB, free: 1.695 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.7977, allocations: 0 / 1.482 GB, free: 1.695 MB / 1.17 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.0007303/0.7984, allocations: 457.3 kB / 1.482 GB, free: 1.219 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.7985, allocations: 12.03 kB / 1.482 GB, free: 1.207 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003031/0.7988, allocations: 43.84 kB / 1.483 GB, free: 1.164 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/0.7993, allocations: 208.7 kB / 1.483 GB, free: 0.9336 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002673/0.7995, allocations: 238.1 kB / 1.483 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.7996, allocations: 20 kB / 1.483 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/0.8001, allocations: 297.9 kB / 1.483 GB, free: 312 kB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.8001, allocations: 3.938 kB / 1.483 GB, free: 308 kB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.8002, allocations: 12 kB / 1.483 GB, free: 296 kB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.8002, allocations: 4 kB / 1.483 GB, free: 292 kB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/0.8005, allocations: 160.6 kB / 1.483 GB, free: 132 kB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.8021, allocations: 1.444 MB / 1.485 GB, free: 14.62 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.8023, allocations: 177.1 kB / 1.485 GB, free: 14.43 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.597e-05/0.8023, allocations: 84.17 kB / 1.485 GB, free: 14.35 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.941e-05/0.8024, allocations: 75.28 kB / 1.485 GB, free: 14.27 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.916e-05/0.8024, allocations: 109.8 kB / 1.485 GB, free: 14.16 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.173e-06/0.8024, allocations: 0 / 1.485 GB, free: 14.16 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 9.794e-05/0.8025, allocations: 45.55 kB / 1.485 GB, free: 14.11 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/0.8026, allocations: 126.7 kB / 1.485 GB, free: 13.97 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.8029, allocations: 243 kB / 1.486 GB, free: 13.72 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.8029, allocations: 25.7 kB / 1.486 GB, free: 13.69 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.8031, allocations: 203.6 kB / 1.486 GB, free: 13.48 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.824e-06/0.8031, allocations: 8 kB / 1.486 GB, free: 13.47 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.316e-05/0.8032, allocations: 45.59 kB / 1.486 GB, free: 13.42 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.8034, allocations: 322.8 kB / 1.486 GB, free: 13.1 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.676e-05/0.8035, allocations: 35.97 kB / 1.486 GB, free: 13.06 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.8037, allocations: 166.4 kB / 1.486 GB, free: 12.84 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.804, allocations: 196.8 kB / 1.487 GB, free: 12.59 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.804, allocations: 0 / 1.487 GB, free: 12.59 MB / 1.186 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005031/0.8045, allocations: 213.1 kB / 1.487 GB, free: 12.37 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.8046, allocations: 8 kB / 1.487 GB, free: 12.36 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.8046, allocations: 7.938 kB / 1.487 GB, free: 12.36 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.197e-05/0.8046, allocations: 8 kB / 1.487 GB, free: 12.35 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.8048, allocations: 36.55 kB / 1.487 GB, free: 12.31 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.8048, allocations: 7.938 kB / 1.487 GB, free: 12.3 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.8049, allocations: 27.83 kB / 1.487 GB, free: 12.28 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.805, allocations: 15.98 kB / 1.487 GB, free: 12.26 MB / 1.186 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.0002514/0.8052, allocations: 213.6 kB / 1.487 GB, free: 12.04 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.8053, allocations: 120.8 kB / 1.487 GB, free: 11.92 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.859e-05/0.8054, allocations: 125.4 kB / 1.487 GB, free: 11.79 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001028/0.8055, allocations: 176.3 kB / 1.488 GB, free: 11.61 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001228/0.8057, allocations: 184.3 kB / 1.488 GB, free: 11.42 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000111/0.8058, allocations: 188.2 kB / 1.488 GB, free: 11.23 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.8061, allocations: 412.8 kB / 1.488 GB, free: 10.79 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.172e-05/0.8062, allocations: 104.9 kB / 1.488 GB, free: 10.68 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.245e-05/0.8062, allocations: 105 kB / 1.488 GB, free: 10.57 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.064e-05/0.8063, allocations: 184.2 kB / 1.489 GB, free: 10.38 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.8064, allocations: 180.2 kB / 1.489 GB, free: 10.2 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001093/0.8065, allocations: 180.2 kB / 1.489 GB, free: 10.02 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001024/0.8066, allocations: 184.2 kB / 1.489 GB, free: 9.828 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.8068, allocations: 315.7 kB / 1.489 GB, free: 9.496 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.8069, allocations: 124.9 kB / 1.49 GB, free: 9.367 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.8071, allocations: 176.3 kB / 1.49 GB, free: 9.188 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.8072, allocations: 112.8 kB / 1.49 GB, free: 9.07 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.8073, allocations: 180.3 kB / 1.49 GB, free: 8.887 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-05/0.8074, allocations: 108.9 kB / 1.49 GB, free: 8.773 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002021/0.8076, allocations: 168.2 kB / 1.49 GB, free: 8.609 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.8076, allocations: 0 / 1.49 GB, free: 8.609 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004619/0.8081, allocations: 63.78 kB / 1.49 GB, free: 8.547 MB / 1.186 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.000315/0.8084, allocations: 206.3 kB / 1.491 GB, free: 8.336 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.8086, allocations: 79.77 kB / 1.491 GB, free: 8.258 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8086, allocations: 0 / 1.491 GB, free: 8.258 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.8086, allocations: 0 / 1.491 GB, free: 8.258 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000485/0.8091, allocations: 467.4 kB / 1.491 GB, free: 7.801 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006791/0.8098, allocations: 400.8 kB / 1.491 GB, free: 7.379 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.8099, allocations: 128.7 kB / 1.492 GB, free: 7.234 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001297/0.8101, allocations: 29.41 kB / 1.492 GB, free: 7.207 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.8101, allocations: 11.44 kB / 1.492 GB, free: 7.195 MB / 1.186 GB Notification: Performance of SimCode: time 3e-07/0.8101, allocations: 0 / 1.492 GB, free: 7.195 MB / 1.186 GB Notification: Performance of Templates: time 0.005409/0.8155, allocations: 1.459 MB / 1.493 GB, free: 5.746 MB / 1.186 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 -s cvode -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: 10.597476501992787]