Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009768/0.0009768, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001046/0.001046, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 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 0.9614/0.9614, allocations: 177.1 MB / 203.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.129/2.129, allocations: 429.5 MB / 0.6732 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+.|conDryAirWithC.outlet.forward.C.[0-9,]+.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.[0-9,]+.|conDryAirWithC.CZon.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+.|conDryAirWithC.outlet.forward.C.[0-9,]+.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.[0-9,]+.|conDryAirWithC.CZon.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.077e-05, allocations: 3.188 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1475/0.1475, allocations: 161.9 MB / 1.036 GB, free: 3.887 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.008469/0.156, allocations: 6.551 MB / 1.043 GB, free: 13.32 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009393/0.1569, allocations: 87.25 kB / 1.043 GB, free: 13.23 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.1581, allocations: 0.5817 MB / 1.043 GB, free: 12.65 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002036/0.1601, allocations: 1.278 MB / 1.045 GB, free: 11.36 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003666/0.1638, allocations: 2.146 MB / 1.047 GB, free: 9.211 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002465/0.1663, allocations: 2.86 MB / 1.049 GB, free: 6.34 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.1674, allocations: 1.007 MB / 1.05 GB, free: 5.297 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.169, allocations: 1.5 MB / 1.052 GB, free: 3.793 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.17, allocations: 0.8335 MB / 1.053 GB, free: 2.957 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.1702, allocations: 112 kB / 1.053 GB, free: 2.848 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.1717, allocations: 1.075 MB / 1.054 GB, free: 1.77 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.172, allocations: 430.5 kB / 1.054 GB, free: 1.348 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003768/0.1724, allocations: 470.9 kB / 1.055 GB, free: 0.8867 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.5059/0.6783, allocations: 1.578 MB / 1.056 GB, free: 55.11 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.6783, allocations: 0.5 kB / 1.056 GB, free: 55.11 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6783, allocations: 0.7812 kB / 1.056 GB, free: 55.11 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.758e-05/0.6784, allocations: 2.938 kB / 1.056 GB, free: 55.11 MB / 1.01 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.00169/0.6801, allocations: 1.643 MB / 1.058 GB, free: 54.2 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.6801, allocations: 8.406 kB / 1.058 GB, free: 54.2 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008258/0.6809, allocations: 360.5 kB / 1.058 GB, free: 54.1 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.682, allocations: 1.011 MB / 1.059 GB, free: 53.8 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.6821, allocations: 299 kB / 1.059 GB, free: 53.55 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.831e-05/0.6822, allocations: 104.2 kB / 1.06 GB, free: 53.55 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007902/0.683, allocations: 0.6953 MB / 1.06 GB, free: 53.37 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.683, allocations: 0 / 1.06 GB, free: 53.37 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/0.683, allocations: 38.03 kB / 1.06 GB, free: 53.37 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.683, allocations: 22.84 kB / 1.06 GB, free: 53.37 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004709/0.6835, allocations: 309.2 kB / 1.061 GB, free: 53.35 MB / 1.01 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.002273/0.6858, allocations: 3.108 MB / 1.064 GB, free: 51.84 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.686, allocations: 88.06 kB / 1.064 GB, free: 51.8 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.779e-05/0.6861, allocations: 56.22 kB / 1.064 GB, free: 51.79 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002249/0.6863, allocations: 101.6 kB / 1.064 GB, free: 51.79 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.6863, allocations: 33.95 kB / 1.064 GB, free: 51.74 MB / 1.01 GB Notification: Performance of pre-optimization done (n=24): time 1.222e-06/0.6863, allocations: 1 kB / 1.064 GB, free: 51.74 MB / 1.01 GB Notification: Performance of matching and sorting (n=24): time 0.0005067/0.6868, allocations: 286.2 kB / 1.064 GB, free: 51.66 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.6868, allocations: 56.22 kB / 1.064 GB, free: 51.59 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005746/0.6874, allocations: 0.7964 MB / 1.065 GB, free: 51.37 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.6874, allocations: 35.55 kB / 1.065 GB, free: 51.34 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.6877, allocations: 0.6407 MB / 1.066 GB, free: 51 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.6877, allocations: 90.64 kB / 1.066 GB, free: 50.95 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.6878, allocations: 166.6 kB / 1.066 GB, free: 50.91 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.463e-05/0.6879, allocations: 0.5007 MB / 1.066 GB, free: 50.43 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.688, allocations: 65.45 kB / 1.066 GB, free: 50.43 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.6883, allocations: 1.075 MB / 1.068 GB, free: 49.15 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004472/0.6888, allocations: 0.7807 MB / 1.068 GB, free: 48.4 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.6888, allocations: 3.438 kB / 1.068 GB, free: 48.4 MB / 1.01 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0006466/0.6894, allocations: 0.6056 MB / 1.069 GB, free: 48.32 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6894, allocations: 12.94 kB / 1.069 GB, free: 48.32 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.6895, allocations: 13.41 kB / 1.069 GB, free: 48.32 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.6895, allocations: 18.88 kB / 1.069 GB, free: 48.32 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.6898, allocations: 166 kB / 1.069 GB, free: 48.32 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/0.6898, allocations: 27.44 kB / 1.069 GB, free: 48.32 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.6901, allocations: 84.16 kB / 1.069 GB, free: 48.27 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.6901, allocations: 42.75 kB / 1.069 GB, free: 48.27 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (84): * Single equations (assignments): 84 * 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.0001559/0.6903, allocations: 216.5 kB / 1.069 GB, free: 48.11 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.172e-05/0.6904, allocations: 96.44 kB / 1.07 GB, free: 48.05 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.6907, allocations: 288.1 kB / 1.07 GB, free: 47.98 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.6907, allocations: 3.969 kB / 1.07 GB, free: 47.98 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.6907, allocations: 2.938 kB / 1.07 GB, free: 47.98 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.6907, allocations: 2.766 kB / 1.07 GB, free: 47.98 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.6917, allocations: 1.162 MB / 1.071 GB, free: 47.45 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.6917, allocations: 2.875 kB / 1.071 GB, free: 47.45 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.288e-05/0.6918, allocations: 49.88 kB / 1.071 GB, free: 47.45 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.6918, allocations: 8.844 kB / 1.071 GB, free: 47.45 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.6919, allocations: 9.156 kB / 1.071 GB, free: 47.45 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.6919, allocations: 4.031 kB / 1.071 GB, free: 47.45 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6919, allocations: 9.062 kB / 1.071 GB, free: 47.45 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.6922, allocations: 0.5302 MB / 1.072 GB, free: 47 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.6923, allocations: 123.8 kB / 1.072 GB, free: 46.95 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.6923, allocations: 10.56 kB / 1.072 GB, free: 46.95 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.6925, allocations: 9.719 kB / 1.072 GB, free: 46.95 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.6925, allocations: 33.56 kB / 1.072 GB, free: 46.95 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.6925, allocations: 11.62 kB / 1.072 GB, free: 46.95 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003587/0.6929, allocations: 497.9 kB / 1.072 GB, free: 46.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.6929, allocations: 0 / 1.072 GB, free: 46.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006312/0.6935, allocations: 338.9 kB / 1.073 GB, free: 46.73 MB / 1.01 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.0003174/0.6938, allocations: 256.9 kB / 1.073 GB, free: 46.62 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003632/0.6942, allocations: 306.4 kB / 1.073 GB, free: 46.61 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6942, allocations: 3.875 kB / 1.073 GB, free: 46.61 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 9.46e-05/0.6943, allocations: 81.33 kB / 1.073 GB, free: 46.59 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007597/0.695, allocations: 289.7 kB / 1.073 GB, free: 46.58 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.6967, allocations: 1.658 MB / 1.075 GB, free: 45.6 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.6969, allocations: 222.8 kB / 1.075 GB, free: 45.52 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000337/0.6972, allocations: 149.1 kB / 1.075 GB, free: 45.52 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.286e-05/0.6973, allocations: 55.09 kB / 1.075 GB, free: 45.51 MB / 1.01 GB Notification: Performance of SimCode: time 6.11e-07/0.6973, allocations: 0 / 1.075 GB, free: 45.51 MB / 1.01 GB Notification: Performance of Templates: time 0.01516/0.7125, allocations: 11.64 MB / 1.087 GB, free: 44.33 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.401913944631815]