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.001261/0.001261, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001362/0.001362, allocations: 213 kB / 23.04 MB, free: 4.867 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.106/3.106, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] 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.002051/0.002051, allocations: 67.47 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.381, allocations: 176.1 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1944/0.5753, allocations: 150.5 MB / 1.474 GB, free: 9.848 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007005/0.5823, allocations: 5.515 MB / 1.48 GB, free: 4.316 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003495/0.5827, allocations: 11.94 kB / 1.48 GB, free: 4.305 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006928/0.5834, allocations: 194.7 kB / 1.48 GB, free: 4.113 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.5837, allocations: 99.36 kB / 1.48 GB, free: 4.016 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.5851, allocations: 0.5139 MB / 1.48 GB, free: 3.5 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0005084/0.5857, allocations: 414.6 kB / 1.481 GB, free: 3.094 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/0.5859, allocations: 96.2 kB / 1.481 GB, free: 2.992 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003208/0.5862, allocations: 187.4 kB / 1.481 GB, free: 2.809 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.5864, allocations: 155.3 kB / 1.481 GB, free: 2.656 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.5865, allocations: 20 kB / 1.481 GB, free: 2.637 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006745/0.5871, allocations: 370.9 kB / 1.482 GB, free: 2.273 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.5872, allocations: 67.81 kB / 1.482 GB, free: 2.207 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.5874, allocations: 87.58 kB / 1.482 GB, free: 2.121 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0006476/0.588, allocations: 458.3 kB / 1.482 GB, free: 1.672 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.588, allocations: 0 / 1.482 GB, free: 1.672 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.463e-06/0.588, allocations: 0 / 1.482 GB, free: 1.672 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.588, allocations: 0 / 1.482 GB, free: 1.672 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.0006568/0.5887, allocations: 461.3 kB / 1.483 GB, free: 1.191 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.5887, allocations: 8.031 kB / 1.483 GB, free: 1.184 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002906/0.589, allocations: 47.83 kB / 1.483 GB, free: 1.137 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.5894, allocations: 208.7 kB / 1.483 GB, free: 0.9062 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/0.5896, allocations: 238.1 kB / 1.483 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.5897, allocations: 20 kB / 1.483 GB, free: 0.6016 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.5901, allocations: 293.9 kB / 1.483 GB, free: 288 kB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.5901, allocations: 7.984 kB / 1.483 GB, free: 280 kB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.5902, allocations: 4 kB / 1.483 GB, free: 276 kB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.5902, allocations: 8 kB / 1.483 GB, free: 268 kB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.5905, allocations: 164.6 kB / 1.484 GB, free: 104 kB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.5919, allocations: 1.452 MB / 1.485 GB, free: 14.58 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.592, allocations: 169.1 kB / 1.485 GB, free: 14.41 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.067e-05/0.592, allocations: 84.17 kB / 1.485 GB, free: 14.32 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.5921, allocations: 75.28 kB / 1.485 GB, free: 14.25 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.762e-05/0.5921, allocations: 109.8 kB / 1.485 GB, free: 14.13 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.5921, allocations: 0 / 1.485 GB, free: 14.13 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 9.148e-05/0.5922, allocations: 49.48 kB / 1.485 GB, free: 14.07 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.923e-05/0.5923, allocations: 126.7 kB / 1.486 GB, free: 13.94 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.5926, allocations: 239 kB / 1.486 GB, free: 13.69 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.5926, allocations: 29.7 kB / 1.486 GB, free: 13.66 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.5927, allocations: 211.5 kB / 1.486 GB, free: 13.44 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.3e-06/0.5927, allocations: 4 kB / 1.486 GB, free: 13.44 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-05/0.5928, allocations: 45.66 kB / 1.486 GB, free: 13.39 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5929, allocations: 322.8 kB / 1.486 GB, free: 13.06 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.593, allocations: 39.97 kB / 1.486 GB, free: 13.02 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.5932, allocations: 158.1 kB / 1.487 GB, free: 12.81 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.5935, allocations: 196.9 kB / 1.487 GB, free: 12.55 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.5935, allocations: 7.938 kB / 1.487 GB, free: 12.55 MB / 1.186 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004143/0.5939, allocations: 213.4 kB / 1.487 GB, free: 12.33 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.5939, allocations: 8 kB / 1.487 GB, free: 12.32 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.5939, allocations: 4 kB / 1.487 GB, free: 12.32 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.5939, allocations: 7.938 kB / 1.487 GB, free: 12.31 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.5941, allocations: 39.92 kB / 1.487 GB, free: 12.27 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.5941, allocations: 7.984 kB / 1.487 GB, free: 12.27 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.5943, allocations: 27.78 kB / 1.487 GB, free: 12.24 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.5943, allocations: 12 kB / 1.487 GB, free: 12.23 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.0001605/0.5945, allocations: 213.9 kB / 1.487 GB, free: 12.01 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.176e-05/0.5945, allocations: 124.9 kB / 1.487 GB, free: 11.88 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.79e-05/0.5946, allocations: 113.4 kB / 1.487 GB, free: 11.76 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.044e-05/0.5947, allocations: 188.3 kB / 1.488 GB, free: 11.57 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.997e-05/0.5948, allocations: 184.3 kB / 1.488 GB, free: 11.38 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.899e-05/0.5949, allocations: 176.3 kB / 1.488 GB, free: 11.2 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.5952, allocations: 416.8 kB / 1.488 GB, free: 10.76 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-05/0.5952, allocations: 105 kB / 1.488 GB, free: 10.65 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.615e-05/0.5952, allocations: 104.9 kB / 1.489 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.515e-05/0.5953, allocations: 180.2 kB / 1.489 GB, free: 10.36 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-05/0.5954, allocations: 184.3 kB / 1.489 GB, free: 10.17 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-05/0.5955, allocations: 184.1 kB / 1.489 GB, free: 9.98 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.453e-05/0.5956, allocations: 176.3 kB / 1.489 GB, free: 9.801 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.5957, allocations: 323.7 kB / 1.49 GB, free: 9.461 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-05/0.5958, allocations: 112.9 kB / 1.49 GB, free: 9.344 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.96e-05/0.5959, allocations: 188.2 kB / 1.49 GB, free: 9.152 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.596, allocations: 104.9 kB / 1.49 GB, free: 9.043 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.335e-05/0.5961, allocations: 180.2 kB / 1.49 GB, free: 8.859 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.5962, allocations: 109 kB / 1.49 GB, free: 8.746 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001779/0.5963, allocations: 160.2 kB / 1.49 GB, free: 8.59 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5963, allocations: 3.938 kB / 1.49 GB, free: 8.586 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004018/0.5967, allocations: 67.78 kB / 1.49 GB, free: 8.52 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.0002662/0.597, allocations: 194.5 kB / 1.491 GB, free: 8.32 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.5972, allocations: 84.02 kB / 1.491 GB, free: 8.238 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5972, allocations: 0 / 1.491 GB, free: 8.238 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.5972, allocations: 0 / 1.491 GB, free: 8.238 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.5977, allocations: 467.6 kB / 1.491 GB, free: 7.777 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006176/0.5983, allocations: 427.6 kB / 1.492 GB, free: 7.324 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.5984, allocations: 124.7 kB / 1.492 GB, free: 7.184 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/0.5985, allocations: 15.44 kB / 1.492 GB, free: 7.168 MB / 1.186 GB Notification: Performance of SimCode: time 4.01e-07/0.5985, allocations: 0 / 1.492 GB, free: 7.168 MB / 1.186 GB Notification: Performance of Templates: time 0.005036/0.6035, allocations: 2.554 MB / 1.494 GB, free: 4.613 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 -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: 11.40793385100551]