Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.001508/0.001508, allocations: 100.8 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.002199/0.002199, allocations: 213.8 kB / 23.04 MB, free: 4.863 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.251/3.251, allocations: 0.49 GB / 0.7959 GB, free: 35.64 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.AirToOutletFlowReversal,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.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.1.|conDryAirWithC.CZon.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,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.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.1.|conDryAirWithC.CZon.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [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.002069/0.002069, allocations: 63.19 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3655, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2732/0.6387, allocations: 222.3 MB / 1.544 GB, free: 1.926 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03109/0.6698, allocations: 20.57 MB / 1.564 GB, free: 13.3 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00223/0.672, allocations: 75.31 kB / 1.564 GB, free: 13.22 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003309/0.6754, allocations: 0.986 MB / 1.565 GB, free: 12.23 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.005177/0.6805, allocations: 1.506 MB / 1.567 GB, free: 10.72 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.006024/0.6866, allocations: 1.958 MB / 1.569 GB, free: 8.766 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.00526/0.6918, allocations: 2.694 MB / 1.571 GB, free: 6.055 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002494/0.6943, allocations: 0.954 MB / 1.572 GB, free: 5.059 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004643/0.6989, allocations: 1.635 MB / 1.574 GB, free: 3.418 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/0.7009, allocations: 0.8908 MB / 1.575 GB, free: 2.523 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.7011, allocations: 108 kB / 1.575 GB, free: 2.418 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003501/0.7046, allocations: 1.399 MB / 1.576 GB, free: 1.016 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0005323/0.7051, allocations: 386.7 kB / 1.577 GB, free: 0.6367 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0009152/0.706, allocations: 0.5095 MB / 1.577 GB, free: 128 kB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.004463/0.7105, allocations: 2.308 MB / 1.579 GB, free: 13.81 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.7105, allocations: 0 / 1.579 GB, free: 13.81 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.415e-06/0.7105, allocations: 0 / 1.579 GB, free: 13.81 MB / 1.279 GB Notification: Performance of Transformations before backend: time 2.399e-05/0.7105, allocations: 0 / 1.579 GB, free: 13.81 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002567/0.7131, allocations: 1.446 MB / 1.581 GB, free: 12.33 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.7131, allocations: 8.031 kB / 1.581 GB, free: 12.32 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.7143, allocations: 247 kB / 1.581 GB, free: 12.08 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.716, allocations: 0.8442 MB / 1.582 GB, free: 11.2 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002695/0.7162, allocations: 299.6 kB / 1.582 GB, free: 10.86 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.7164, allocations: 95.88 kB / 1.582 GB, free: 10.77 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.718, allocations: 0.9285 MB / 1.583 GB, free: 9.805 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.718, allocations: 0 / 1.583 GB, free: 9.805 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.489e-05/0.7181, allocations: 36 kB / 1.583 GB, free: 9.77 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.7181, allocations: 20 kB / 1.583 GB, free: 9.75 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.7193, allocations: 0.6324 MB / 1.584 GB, free: 9.117 MB / 1.279 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004214/0.7235, allocations: 2.63 MB / 1.586 GB, free: 6.414 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.724, allocations: 190.5 kB / 1.587 GB, free: 6.219 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.7242, allocations: 136.9 kB / 1.587 GB, free: 6.082 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005811/0.7248, allocations: 123.9 kB / 1.587 GB, free: 5.961 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/0.7249, allocations: 34.56 kB / 1.587 GB, free: 5.918 MB / 1.279 GB Notification: Performance of pre-optimization done (n=24): time 2.946e-06/0.7249, allocations: 0 / 1.587 GB, free: 5.918 MB / 1.279 GB Notification: Performance of matching and sorting (n=24): time 0.001083/0.726, allocations: 438.9 kB / 1.587 GB, free: 5.484 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.726, allocations: 59.34 kB / 1.587 GB, free: 5.414 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.727, allocations: 0.7115 MB / 1.588 GB, free: 4.695 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.7271, allocations: 29.7 kB / 1.588 GB, free: 4.66 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004865/0.7276, allocations: 0.5503 MB / 1.589 GB, free: 4.102 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 8.754e-05/0.7276, allocations: 95.19 kB / 1.589 GB, free: 4.008 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.7278, allocations: 102 kB / 1.589 GB, free: 3.902 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0002384/0.7281, allocations: 382.8 kB / 1.589 GB, free: 3.52 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.7283, allocations: 124.8 kB / 1.589 GB, free: 3.398 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008131/0.7291, allocations: 0.7334 MB / 1.59 GB, free: 2.469 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006647/0.7298, allocations: 467.5 kB / 1.59 GB, free: 1.926 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.7298, allocations: 4 kB / 1.59 GB, free: 1.922 MB / 1.279 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009432/0.7307, allocations: 0.5084 MB / 1.591 GB, free: 1.406 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.7307, allocations: 8 kB / 1.591 GB, free: 1.398 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.7308, allocations: 8.281 kB / 1.591 GB, free: 1.391 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/0.7308, allocations: 11.94 kB / 1.591 GB, free: 1.379 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.7312, allocations: 87.84 kB / 1.591 GB, free: 1.293 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/0.7312, allocations: 15.92 kB / 1.591 GB, free: 1.277 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005007/0.7317, allocations: 48.27 kB / 1.591 GB, free: 1.23 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.471e-05/0.7318, allocations: 35.98 kB / 1.591 GB, free: 1.195 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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.0004526/0.7322, allocations: 289.5 kB / 1.591 GB, free: 0.9023 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.7323, allocations: 79.47 kB / 1.591 GB, free: 0.8242 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007729/0.7331, allocations: 400.4 kB / 1.592 GB, free: 432 kB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.7331, allocations: 4 kB / 1.592 GB, free: 428 kB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.7331, allocations: 3.984 kB / 1.592 GB, free: 424 kB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.7331, allocations: 4 kB / 1.592 GB, free: 420 kB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.7354, allocations: 1.337 MB / 1.593 GB, free: 14.98 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.158e-06/0.7354, allocations: 8.031 kB / 1.593 GB, free: 14.97 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.7356, allocations: 39.92 kB / 1.593 GB, free: 14.93 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/0.7356, allocations: 8 kB / 1.593 GB, free: 14.93 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.7356, allocations: 11.94 kB / 1.593 GB, free: 14.91 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/0.7356, allocations: 8 kB / 1.593 GB, free: 14.91 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.7356, allocations: 7.938 kB / 1.593 GB, free: 14.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006808/0.7363, allocations: 0.549 MB / 1.594 GB, free: 14.28 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002406/0.7366, allocations: 123.4 kB / 1.594 GB, free: 14.16 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-05/0.7366, allocations: 11.92 kB / 1.594 GB, free: 14.15 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.7369, allocations: 8 kB / 1.594 GB, free: 14.14 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.737, allocations: 31.84 kB / 1.594 GB, free: 14.11 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.737, allocations: 16 kB / 1.594 GB, free: 14.09 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006699/0.7377, allocations: 495 kB / 1.594 GB, free: 13.62 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/0.7377, allocations: 3.938 kB / 1.594 GB, free: 13.61 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001049/0.7387, allocations: 323 kB / 1.595 GB, free: 13.3 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005513/0.7393, allocations: 309.2 kB / 1.595 GB, free: 12.99 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0006571/0.7399, allocations: 340.1 kB / 1.595 GB, free: 12.66 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7399, allocations: 0 / 1.595 GB, free: 12.66 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.7401, allocations: 137.3 kB / 1.595 GB, free: 12.52 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.7415, allocations: 264.8 kB / 1.596 GB, free: 12.27 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.7441, allocations: 1.606 MB / 1.597 GB, free: 10.57 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/0.7447, allocations: 479.9 kB / 1.598 GB, free: 10.07 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.7449, allocations: 67.34 kB / 1.598 GB, free: 10 MB / 1.295 GB Notification: Performance of SimCode: time 1.133e-06/0.7449, allocations: 0 / 1.598 GB, free: 10 MB / 1.295 GB Notification: Performance of Templates: time 0.715/1.46, allocations: 14.31 MB / 1.612 GB, free: 282.2 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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: 14.428748711943626]