Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 118.7 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 193.2 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.786/2.786, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.89 kB / 1.057 GB, free: 1.934 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3961, allocations: 160.7 MB / 1.214 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.269/1.666, allocations: 250 MB / 1.458 GB, free: 7.199 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03084/1.696, allocations: 22.4 MB / 1.48 GB, free: 0.7305 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002734/1.699, allocations: 51.69 kB / 1.48 GB, free: 0.6797 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.003598/1.703, allocations: 0.9977 MB / 1.481 GB, free: 15.67 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0056/1.708, allocations: 1.52 MB / 1.483 GB, free: 14.14 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005929/1.714, allocations: 1.965 MB / 1.485 GB, free: 12.18 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005053/1.719, allocations: 2.666 MB / 1.487 GB, free: 9.516 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001978/1.721, allocations: 1.031 MB / 1.488 GB, free: 8.449 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003676/1.725, allocations: 1.37 MB / 1.49 GB, free: 7.074 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002071/1.727, allocations: 0.965 MB / 1.49 GB, free: 6.105 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002109/1.727, allocations: 108 kB / 1.491 GB, free: 6 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004812/1.732, allocations: 1.769 MB / 1.492 GB, free: 4.227 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000574/1.733, allocations: 390.7 kB / 1.493 GB, free: 3.844 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001066/1.734, allocations: 0.6376 MB / 1.493 GB, free: 3.203 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004825/1.739, allocations: 2.281 MB / 1.495 GB, free: 0.9141 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.739, allocations: 0 / 1.495 GB, free: 0.9141 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.483e-06/1.739, allocations: 0 / 1.495 GB, free: 0.9141 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.765e-05/1.739, allocations: 0 / 1.495 GB, free: 0.9141 MB / 1.154 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.003585/1.742, allocations: 1.513 MB / 1.497 GB, free: 15.35 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 8.251e-05/1.742, allocations: 8.031 kB / 1.497 GB, free: 15.34 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/1.744, allocations: 235 kB / 1.497 GB, free: 15.11 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/1.746, allocations: 0.9241 MB / 1.498 GB, free: 14.14 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/1.746, allocations: 188.8 kB / 1.498 GB, free: 13.93 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/1.746, allocations: 88 kB / 1.498 GB, free: 13.85 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/1.748, allocations: 0.9362 MB / 1.499 GB, free: 12.88 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/1.748, allocations: 0 / 1.499 GB, free: 12.88 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.383e-05/1.748, allocations: 36 kB / 1.499 GB, free: 12.84 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/1.748, allocations: 20 kB / 1.499 GB, free: 12.82 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/1.75, allocations: 0.6324 MB / 1.5 GB, free: 12.19 MB / 1.17 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.006321/1.756, allocations: 4.437 MB / 1.504 GB, free: 7.359 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/1.756, allocations: 174.7 kB / 1.504 GB, free: 7.18 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/1.757, allocations: 151.2 kB / 1.505 GB, free: 7.031 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/1.758, allocations: 1.017 MB / 1.506 GB, free: 5.793 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/1.758, allocations: 42.55 kB / 1.506 GB, free: 5.742 MB / 1.17 GB Notification: Performance of pre-optimization done (n=24): time 2.765e-06/1.758, allocations: 4 kB / 1.506 GB, free: 5.738 MB / 1.17 GB Notification: Performance of matching and sorting (n=24): time 0.001205/1.759, allocations: 481.8 kB / 1.506 GB, free: 5.262 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/1.759, allocations: 51.41 kB / 1.506 GB, free: 5.199 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/1.761, allocations: 1.106 MB / 1.507 GB, free: 4.078 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/1.761, allocations: 33.7 kB / 1.507 GB, free: 4.039 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004701/1.761, allocations: 0.5204 MB / 1.508 GB, free: 3.516 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.785e-05/1.761, allocations: 95.19 kB / 1.508 GB, free: 3.422 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/1.761, allocations: 98.03 kB / 1.508 GB, free: 3.32 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.761, allocations: 322 kB / 1.508 GB, free: 3 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/1.762, allocations: 124.8 kB / 1.508 GB, free: 2.875 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005284/1.762, allocations: 387.1 kB / 1.509 GB, free: 2.387 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006466/1.763, allocations: 471.6 kB / 1.509 GB, free: 1.84 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/1.763, allocations: 0 / 1.509 GB, free: 1.84 MB / 1.17 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009758/1.764, allocations: 0.5433 MB / 1.51 GB, free: 1.289 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/1.764, allocations: 8 kB / 1.51 GB, free: 1.281 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/1.764, allocations: 15.88 kB / 1.51 GB, free: 1.266 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/1.764, allocations: 8.688 kB / 1.51 GB, free: 1.258 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/1.764, allocations: 87.89 kB / 1.51 GB, free: 1.172 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/1.764, allocations: 15.94 kB / 1.51 GB, free: 1.156 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007039/1.765, allocations: 99.27 kB / 1.51 GB, free: 1.059 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.09e-05/1.765, allocations: 24 kB / 1.51 GB, free: 1.035 MB / 1.17 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.0004501/1.766, allocations: 285.6 kB / 1.51 GB, free: 0.7461 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/1.766, allocations: 107.3 kB / 1.51 GB, free: 0.6406 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007827/1.766, allocations: 422.5 kB / 1.511 GB, free: 220 kB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/1.766, allocations: 4 kB / 1.511 GB, free: 216 kB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.766, allocations: 0 / 1.511 GB, free: 216 kB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.766, allocations: 3.938 kB / 1.511 GB, free: 212 kB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/1.769, allocations: 1.55 MB / 1.512 GB, free: 14.55 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/1.769, allocations: 4.875 kB / 1.512 GB, free: 14.54 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/1.769, allocations: 39.92 kB / 1.512 GB, free: 14.5 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/1.769, allocations: 11.94 kB / 1.512 GB, free: 14.49 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/1.769, allocations: 8 kB / 1.512 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.238e-06/1.769, allocations: 16.44 kB / 1.512 GB, free: 14.47 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.769, allocations: 4 kB / 1.512 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000729/1.77, allocations: 0.5817 MB / 1.513 GB, free: 13.82 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/1.77, allocations: 240.2 kB / 1.513 GB, free: 13.56 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/1.77, allocations: 12 kB / 1.513 GB, free: 13.55 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004116/1.771, allocations: 19.97 kB / 1.513 GB, free: 13.53 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/1.771, allocations: 31.86 kB / 1.513 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/1.771, allocations: 12.88 kB / 1.513 GB, free: 13.49 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001176/1.772, allocations: 0.7783 MB / 1.514 GB, free: 12.7 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.11e-07/1.772, allocations: 0 / 1.514 GB, free: 12.7 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001016/1.773, allocations: 287.4 kB / 1.514 GB, free: 12.42 MB / 1.186 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.0009659/1.774, allocations: 344.4 kB / 1.515 GB, free: 12.09 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0008401/1.775, allocations: 337.3 kB / 1.515 GB, free: 11.76 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.775, allocations: 4.062 kB / 1.515 GB, free: 11.76 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002414/1.775, allocations: 131.8 kB / 1.515 GB, free: 11.63 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/1.777, allocations: 0.5159 MB / 1.516 GB, free: 11.12 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/1.781, allocations: 1.648 MB / 1.517 GB, free: 9.379 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.782, allocations: 1.063 MB / 1.518 GB, free: 8.289 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/1.782, allocations: 75.42 kB / 1.518 GB, free: 8.215 MB / 1.186 GB Notification: Performance of SimCode: time 8.42e-07/1.782, allocations: 3.938 kB / 1.518 GB, free: 8.211 MB / 1.186 GB Notification: Performance of Templates: time 0.03408/1.816, allocations: 17.31 MB / 1.535 GB, free: 7.047 MB / 1.201 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.577539071906358]