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.001207/0.001207, 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.0009967/0.0009967, allocations: 169.3 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 1.03/1.03, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.402/2.402, allocations: 429.5 MB / 0.6733 GB, free: 4.051 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 2.765e-06/2.765e-06, allocations: 0 / 0.8782 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.56e-05/3.836e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1617/0.1618, allocations: 161.8 MB / 1.036 GB, free: 3.949 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.009191/0.171, allocations: 6.558 MB / 1.043 GB, free: 13.38 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002037/0.173, allocations: 87.25 kB / 1.043 GB, free: 13.29 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001795/0.1748, allocations: 0.5817 MB / 1.043 GB, free: 12.7 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003204/0.178, allocations: 1.286 MB / 1.045 GB, free: 11.41 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.005506/0.1835, allocations: 2.158 MB / 1.047 GB, free: 9.246 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.005325/0.1888, allocations: 2.841 MB / 1.049 GB, free: 6.395 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/0.1911, allocations: 1.007 MB / 1.05 GB, free: 5.352 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003434/0.1945, allocations: 1.567 MB / 1.052 GB, free: 3.781 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.196, allocations: 0.8179 MB / 1.053 GB, free: 2.961 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002324/0.1962, allocations: 116 kB / 1.053 GB, free: 2.848 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.1981, allocations: 1.005 MB / 1.054 GB, free: 1.84 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003378/0.1984, allocations: 426.6 kB / 1.054 GB, free: 1.422 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0006021/0.199, allocations: 471 kB / 1.055 GB, free: 0.9609 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.4652/0.6643, allocations: 1.543 MB / 1.056 GB, free: 55 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.6643, allocations: 0 / 1.056 GB, free: 55 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6643, allocations: 0 / 1.056 GB, free: 55 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.069e-05/0.6643, allocations: 0 / 1.056 GB, free: 55 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.002036/0.6664, allocations: 1.633 MB / 1.058 GB, free: 54.11 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.6664, allocations: 8.438 kB / 1.058 GB, free: 54.11 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009176/0.6673, allocations: 353 kB / 1.058 GB, free: 54 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.6687, allocations: 1.005 MB / 1.059 GB, free: 53.7 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/0.6689, allocations: 306.3 kB / 1.059 GB, free: 53.45 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.669, allocations: 104 kB / 1.06 GB, free: 53.45 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.67, allocations: 0.6859 MB / 1.06 GB, free: 53.27 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.67, allocations: 0.7656 kB / 1.06 GB, free: 53.27 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.6701, allocations: 40.44 kB / 1.06 GB, free: 53.27 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.6701, allocations: 23.59 kB / 1.06 GB, free: 53.27 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005549/0.6707, allocations: 308.3 kB / 1.061 GB, free: 53.25 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.003183/0.6738, allocations: 3.108 MB / 1.064 GB, free: 51.74 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.6741, allocations: 91.45 kB / 1.064 GB, free: 51.7 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.707e-05/0.6742, allocations: 59.39 kB / 1.064 GB, free: 51.69 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003146/0.6745, allocations: 96.09 kB / 1.064 GB, free: 51.69 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.6745, allocations: 38.3 kB / 1.064 GB, free: 51.64 MB / 1.01 GB Notification: Performance of pre-optimization done (n=24): time 3.176e-06/0.6745, allocations: 2.75 kB / 1.064 GB, free: 51.64 MB / 1.01 GB Notification: Performance of matching and sorting (n=24): time 0.0006198/0.6752, allocations: 282.6 kB / 1.064 GB, free: 51.56 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.6752, allocations: 55.09 kB / 1.064 GB, free: 51.5 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006753/0.6759, allocations: 0.7964 MB / 1.065 GB, free: 51.27 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.6759, allocations: 36.61 kB / 1.065 GB, free: 51.24 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.6762, allocations: 0.6413 MB / 1.066 GB, free: 50.9 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.6763, allocations: 86.69 kB / 1.066 GB, free: 50.85 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.6764, allocations: 170 kB / 1.066 GB, free: 50.82 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.851e-05/0.6765, allocations: 0.4956 MB / 1.066 GB, free: 50.34 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.6767, allocations: 65.45 kB / 1.066 GB, free: 50.34 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/0.677, allocations: 1.075 MB / 1.067 GB, free: 49.05 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004859/0.6775, allocations: 0.7814 MB / 1.068 GB, free: 48.3 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.6775, allocations: 5.906 kB / 1.068 GB, free: 48.3 MB / 1.01 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0006797/0.6782, allocations: 0.6079 MB / 1.069 GB, free: 48.22 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.6783, allocations: 11.03 kB / 1.069 GB, free: 48.22 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.6783, allocations: 18.59 kB / 1.069 GB, free: 48.22 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/0.6783, allocations: 19.72 kB / 1.069 GB, free: 48.22 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.6786, allocations: 155.5 kB / 1.069 GB, free: 48.22 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.026e-05/0.6786, allocations: 30.48 kB / 1.069 GB, free: 48.22 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.679, allocations: 83.53 kB / 1.069 GB, free: 48.18 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-05/0.6791, allocations: 46.31 kB / 1.069 GB, free: 48.18 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.0001812/0.6792, allocations: 216.2 kB / 1.069 GB, free: 48 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.783e-05/0.6793, allocations: 101.8 kB / 1.069 GB, free: 47.95 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003869/0.6797, allocations: 277.4 kB / 1.07 GB, free: 47.88 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.6797, allocations: 5.656 kB / 1.07 GB, free: 47.88 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.6797, allocations: 0 / 1.07 GB, free: 47.88 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.6797, allocations: 0.8125 kB / 1.07 GB, free: 47.88 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.6808, allocations: 1.16 MB / 1.071 GB, free: 47.36 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.6808, allocations: 3.469 kB / 1.071 GB, free: 47.36 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.825e-05/0.6809, allocations: 51.12 kB / 1.071 GB, free: 47.36 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.6809, allocations: 5.25 kB / 1.071 GB, free: 47.36 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.6809, allocations: 12.11 kB / 1.071 GB, free: 47.36 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.681, allocations: 5.906 kB / 1.071 GB, free: 47.36 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.681, allocations: 6.031 kB / 1.071 GB, free: 47.36 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.6813, allocations: 0.5298 MB / 1.071 GB, free: 46.91 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.6814, allocations: 126.2 kB / 1.072 GB, free: 46.85 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.6814, allocations: 21 kB / 1.072 GB, free: 46.85 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.6816, allocations: 2.938 kB / 1.072 GB, free: 46.85 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.6816, allocations: 29.42 kB / 1.072 GB, free: 46.84 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.6816, allocations: 18.98 kB / 1.072 GB, free: 46.84 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003675/0.682, allocations: 495.9 kB / 1.072 GB, free: 46.69 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.4e-07/0.682, allocations: 0 / 1.072 GB, free: 46.69 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001021/0.683, allocations: 326.8 kB / 1.072 GB, free: 46.62 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.0005858/0.6836, allocations: 250.6 kB / 1.073 GB, free: 46.52 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006521/0.6842, allocations: 304.1 kB / 1.073 GB, free: 46.51 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.6843, allocations: 0 / 1.073 GB, free: 46.51 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.6844, allocations: 88.14 kB / 1.073 GB, free: 46.49 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.6855, allocations: 291.7 kB / 1.073 GB, free: 46.47 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003296/0.6888, allocations: 1.656 MB / 1.075 GB, free: 45.48 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.689, allocations: 219.5 kB / 1.075 GB, free: 45.41 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006617/0.6897, allocations: 156.6 kB / 1.075 GB, free: 45.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.6898, allocations: 56.73 kB / 1.075 GB, free: 45.4 MB / 1.01 GB Notification: Performance of SimCode: time 4.128e-06/0.6898, allocations: 2.906 kB / 1.075 GB, free: 45.4 MB / 1.01 GB Notification: Performance of Templates: time 0.02149/0.7113, allocations: 12.5 MB / 1.088 GB, free: 44.03 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.907353974878788]