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.001367/0.001367, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001623/0.001623, allocations: 211.2 kB / 22.99 MB, free: 4.957 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.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.408/3.408, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.002102/0.002102, allocations: 75.55 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4354, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2998/0.7352, allocations: 222.3 MB / 1.544 GB, free: 1.871 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02983/0.765, allocations: 20.56 MB / 1.564 GB, free: 13.25 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002227/0.7672, allocations: 79.31 kB / 1.564 GB, free: 13.17 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003107/0.7703, allocations: 0.9938 MB / 1.565 GB, free: 12.17 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.005117/0.7754, allocations: 1.502 MB / 1.567 GB, free: 10.66 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.005732/0.7812, allocations: 1.976 MB / 1.569 GB, free: 8.688 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.004511/0.7857, allocations: 2.694 MB / 1.571 GB, free: 5.977 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.7874, allocations: 0.9735 MB / 1.572 GB, free: 4.961 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00406/0.7915, allocations: 1.627 MB / 1.574 GB, free: 3.328 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.793, allocations: 0.9572 MB / 1.575 GB, free: 2.367 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.7932, allocations: 108 kB / 1.575 GB, free: 2.262 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003448/0.7967, allocations: 1.403 MB / 1.576 GB, free: 0.8555 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0004775/0.7971, allocations: 394.7 kB / 1.577 GB, free: 480 kB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0006851/0.7978, allocations: 0.5095 MB / 1.577 GB, free: 15.95 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.003816/0.8016, allocations: 2.304 MB / 1.579 GB, free: 13.64 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8016, allocations: 3.938 kB / 1.579 GB, free: 13.64 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8016, allocations: 4 kB / 1.579 GB, free: 13.64 MB / 1.279 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.8017, allocations: 0 / 1.579 GB, free: 13.64 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.002384/0.804, allocations: 1.438 MB / 1.581 GB, free: 12.16 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.8041, allocations: 12.03 kB / 1.581 GB, free: 12.15 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.8053, allocations: 227.1 kB / 1.581 GB, free: 11.93 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.8071, allocations: 0.8636 MB / 1.582 GB, free: 11.04 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002857/0.8073, allocations: 291.6 kB / 1.582 GB, free: 10.7 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.8075, allocations: 91.94 kB / 1.582 GB, free: 10.61 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.8092, allocations: 0.9285 MB / 1.583 GB, free: 9.648 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.8092, allocations: 4 kB / 1.583 GB, free: 9.645 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.918e-05/0.8093, allocations: 36 kB / 1.583 GB, free: 9.609 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.8093, allocations: 24 kB / 1.583 GB, free: 9.586 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.8105, allocations: 0.6285 MB / 1.584 GB, free: 8.957 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.004016/0.8145, allocations: 2.634 MB / 1.586 GB, free: 6.25 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004218/0.8149, allocations: 182.6 kB / 1.587 GB, free: 6.062 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.8151, allocations: 141.5 kB / 1.587 GB, free: 5.922 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005902/0.8157, allocations: 115.9 kB / 1.587 GB, free: 5.809 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.8158, allocations: 38.56 kB / 1.587 GB, free: 5.762 MB / 1.279 GB Notification: Performance of pre-optimization done (n=24): time 2.184e-06/0.8158, allocations: 0 / 1.587 GB, free: 5.762 MB / 1.279 GB Notification: Performance of matching and sorting (n=24): time 0.001085/0.8169, allocations: 446.6 kB / 1.587 GB, free: 5.32 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.8169, allocations: 55.41 kB / 1.587 GB, free: 5.254 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009255/0.8178, allocations: 0.7115 MB / 1.588 GB, free: 4.535 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.8179, allocations: 33.7 kB / 1.588 GB, free: 4.496 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004575/0.8183, allocations: 0.5503 MB / 1.589 GB, free: 3.938 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 8.92e-05/0.8184, allocations: 95.19 kB / 1.589 GB, free: 3.844 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.8186, allocations: 98.03 kB / 1.589 GB, free: 3.742 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.8188, allocations: 382.7 kB / 1.589 GB, free: 3.359 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.819, allocations: 124.8 kB / 1.589 GB, free: 3.238 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007255/0.8198, allocations: 0.7412 MB / 1.59 GB, free: 2.301 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000657/0.8204, allocations: 463.5 kB / 1.59 GB, free: 1.762 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.8204, allocations: 0 / 1.59 GB, free: 1.762 MB / 1.279 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009298/0.8214, allocations: 0.5128 MB / 1.591 GB, free: 1.242 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.8214, allocations: 10.34 kB / 1.591 GB, free: 1.234 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.8214, allocations: 12.06 kB / 1.591 GB, free: 1.223 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/0.8214, allocations: 11.94 kB / 1.591 GB, free: 1.211 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.8218, allocations: 91.83 kB / 1.591 GB, free: 1.121 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.8218, allocations: 11.94 kB / 1.591 GB, free: 1.109 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.8223, allocations: 43.77 kB / 1.591 GB, free: 1.066 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.175e-05/0.8224, allocations: 24 kB / 1.591 GB, free: 1.043 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.0004451/0.8229, allocations: 293.6 kB / 1.591 GB, free: 0.7461 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.823, allocations: 75.48 kB / 1.591 GB, free: 0.6719 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007787/0.8238, allocations: 405.5 kB / 1.592 GB, free: 272 kB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.8238, allocations: 4 kB / 1.592 GB, free: 268 kB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.8238, allocations: 0 / 1.592 GB, free: 268 kB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.8238, allocations: 0 / 1.592 GB, free: 268 kB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.826, allocations: 1.344 MB / 1.593 GB, free: 14.82 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.826, allocations: 4 kB / 1.593 GB, free: 14.82 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.8262, allocations: 39.92 kB / 1.593 GB, free: 14.78 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.8262, allocations: 4 kB / 1.593 GB, free: 14.78 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.8263, allocations: 20.48 kB / 1.593 GB, free: 14.76 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/0.8263, allocations: 8 kB / 1.593 GB, free: 14.75 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/0.8263, allocations: 12.22 kB / 1.593 GB, free: 14.74 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007128/0.827, allocations: 0.5426 MB / 1.594 GB, free: 14.12 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.8272, allocations: 115.4 kB / 1.594 GB, free: 14.01 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.252e-05/0.8273, allocations: 15.94 kB / 1.594 GB, free: 14 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.8276, allocations: 8 kB / 1.594 GB, free: 13.99 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.8277, allocations: 31.84 kB / 1.594 GB, free: 13.96 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.8277, allocations: 12 kB / 1.594 GB, free: 13.95 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006907/0.8284, allocations: 499 kB / 1.594 GB, free: 13.46 MB / 1.295 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8284, allocations: 4 kB / 1.594 GB, free: 13.46 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001108/0.8295, allocations: 327 kB / 1.595 GB, free: 13.14 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.000564/0.8301, allocations: 313.3 kB / 1.595 GB, free: 12.83 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0006503/0.8307, allocations: 334.4 kB / 1.595 GB, free: 12.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.8307, allocations: 0 / 1.595 GB, free: 12.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.831, allocations: 148 kB / 1.596 GB, free: 12.36 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.8323, allocations: 266.8 kB / 1.596 GB, free: 12.11 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.835, allocations: 1.553 MB / 1.597 GB, free: 10.46 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.8355, allocations: 479.9 kB / 1.598 GB, free: 9.965 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0005337/0.8361, allocations: 147.4 kB / 1.598 GB, free: 9.824 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.8362, allocations: 51.44 kB / 1.598 GB, free: 9.773 MB / 1.295 GB Notification: Performance of SimCode: time 4.71e-07/0.8362, allocations: 0 / 1.598 GB, free: 9.773 MB / 1.295 GB Notification: Performance of Templates: time 0.8517/1.688, allocations: 13.63 MB / 1.611 GB, free: 282.2 MB / 1.295 GB " [Timeout remaining time 298] 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 -s gbode -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: 11.230365319002885]