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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 225.6 MB / 249.9 MB, free: 3.273 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.761/2.761, allocations: 443.5 MB / 0.731 GB, free: 14.17 MB / 0.5763 GB [Timeout remaining time 86] 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=500,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=500,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.002797/0.002797, allocations: 67.89 kB / 1.06 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4245, allocations: 160.7 MB / 1.217 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.222/1.646, allocations: 250 MB / 1.461 GB, free: 5.922 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03514/1.681, allocations: 22.4 MB / 1.483 GB, free: 15.46 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00265/1.684, allocations: 55.62 kB / 1.483 GB, free: 15.4 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.003799/1.688, allocations: 0.9899 MB / 1.484 GB, free: 14.41 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005712/1.693, allocations: 1.528 MB / 1.485 GB, free: 12.87 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006233/1.7, allocations: 1.97 MB / 1.487 GB, free: 10.91 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005253/1.705, allocations: 2.675 MB / 1.49 GB, free: 8.223 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002173/1.707, allocations: 1.032 MB / 1.491 GB, free: 7.152 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003577/1.711, allocations: 1.37 MB / 1.492 GB, free: 5.777 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/1.713, allocations: 0.9572 MB / 1.493 GB, free: 4.816 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002351/1.713, allocations: 108 kB / 1.493 GB, free: 4.711 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004339/1.717, allocations: 1.785 MB / 1.495 GB, free: 2.922 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006163/1.718, allocations: 382.7 kB / 1.495 GB, free: 2.547 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/1.719, allocations: 0.6337 MB / 1.496 GB, free: 1.91 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005149/1.724, allocations: 2.285 MB / 1.498 GB, free: 15.62 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.724, allocations: 0 / 1.498 GB, free: 15.62 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.094e-06/1.724, allocations: 3.938 kB / 1.498 GB, free: 15.61 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.103e-05/1.724, allocations: 4 kB / 1.498 GB, free: 15.61 MB / 1.17 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.002805/1.727, allocations: 1.517 MB / 1.499 GB, free: 14.04 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/1.727, allocations: 8.031 kB / 1.499 GB, free: 14.03 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/1.728, allocations: 228.8 kB / 1.5 GB, free: 13.81 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/1.73, allocations: 0.9164 MB / 1.501 GB, free: 12.85 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/1.73, allocations: 188.8 kB / 1.501 GB, free: 12.64 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/1.731, allocations: 91.94 kB / 1.501 GB, free: 12.55 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/1.732, allocations: 0.9362 MB / 1.502 GB, free: 11.58 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/1.732, allocations: 0 / 1.502 GB, free: 11.58 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.862e-05/1.732, allocations: 36 kB / 1.502 GB, free: 11.54 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/1.732, allocations: 24 kB / 1.502 GB, free: 11.52 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/1.734, allocations: 0.6285 MB / 1.502 GB, free: 10.89 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.005884/1.74, allocations: 4.44 MB / 1.507 GB, free: 6.062 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004574/1.74, allocations: 182.6 kB / 1.507 GB, free: 5.875 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/1.74, allocations: 140.8 kB / 1.507 GB, free: 5.734 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/1.741, allocations: 1.017 MB / 1.508 GB, free: 4.496 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/1.741, allocations: 42.5 kB / 1.508 GB, free: 4.445 MB / 1.17 GB Notification: Performance of pre-optimization done (n=24): time 2.184e-06/1.741, allocations: 0 / 1.508 GB, free: 4.445 MB / 1.17 GB Notification: Performance of matching and sorting (n=24): time 0.001247/1.743, allocations: 478.5 kB / 1.509 GB, free: 3.973 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/1.743, allocations: 59.34 kB / 1.509 GB, free: 3.902 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/1.744, allocations: 1.106 MB / 1.51 GB, free: 2.781 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/1.744, allocations: 29.7 kB / 1.51 GB, free: 2.746 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005111/1.745, allocations: 0.5243 MB / 1.51 GB, free: 2.219 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/1.745, allocations: 87.27 kB / 1.51 GB, free: 2.133 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/1.745, allocations: 102 kB / 1.51 GB, free: 2.027 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.745, allocations: 322 kB / 1.511 GB, free: 1.707 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/1.746, allocations: 124.8 kB / 1.511 GB, free: 1.582 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005221/1.746, allocations: 391 kB / 1.511 GB, free: 1.094 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006909/1.747, allocations: 469.2 kB / 1.512 GB, free: 0.5508 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/1.747, allocations: 4 kB / 1.512 GB, free: 0.5469 MB / 1.17 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00107/1.748, allocations: 0.5393 MB / 1.512 GB, free: 0 / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/1.748, allocations: 8.047 kB / 1.512 GB, free: 15.99 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/1.748, allocations: 7.938 kB / 1.512 GB, free: 15.98 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/1.748, allocations: 8 kB / 1.512 GB, free: 15.97 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/1.748, allocations: 92.47 kB / 1.512 GB, free: 15.89 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.326e-05/1.749, allocations: 19.94 kB / 1.512 GB, free: 15.87 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007435/1.749, allocations: 95.27 kB / 1.512 GB, free: 15.77 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/1.749, allocations: 20 kB / 1.512 GB, free: 15.75 MB / 1.186 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.0004743/1.75, allocations: 289.6 kB / 1.513 GB, free: 15.46 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/1.75, allocations: 107.3 kB / 1.513 GB, free: 15.36 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008181/1.751, allocations: 429.4 kB / 1.513 GB, free: 14.93 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/1.751, allocations: 0 / 1.513 GB, free: 14.93 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/1.751, allocations: 0 / 1.513 GB, free: 14.93 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.751, allocations: 4 kB / 1.513 GB, free: 14.92 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/1.753, allocations: 1.563 MB / 1.515 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/1.753, allocations: 4 kB / 1.515 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/1.754, allocations: 43.92 kB / 1.515 GB, free: 13.21 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/1.754, allocations: 7.938 kB / 1.515 GB, free: 13.2 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/1.754, allocations: 12 kB / 1.515 GB, free: 13.19 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.866e-06/1.754, allocations: 4 kB / 1.515 GB, free: 13.18 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.699e-06/1.754, allocations: 11.94 kB / 1.515 GB, free: 13.17 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007965/1.754, allocations: 0.5789 MB / 1.515 GB, free: 12.52 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003949/1.755, allocations: 240.2 kB / 1.516 GB, free: 12.27 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/1.755, allocations: 19.97 kB / 1.516 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/1.755, allocations: 15.98 kB / 1.516 GB, free: 12.23 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/1.755, allocations: 31.86 kB / 1.516 GB, free: 12.2 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/1.755, allocations: 15.94 kB / 1.516 GB, free: 12.19 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001163/1.757, allocations: 0.7822 MB / 1.517 GB, free: 11.4 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.757, allocations: 0 / 1.517 GB, free: 11.4 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00107/1.758, allocations: 283.4 kB / 1.517 GB, free: 11.12 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.00082/1.758, allocations: 332 kB / 1.517 GB, free: 10.8 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0007369/1.759, allocations: 334.5 kB / 1.517 GB, free: 10.47 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.759, allocations: 4.312 kB / 1.517 GB, free: 10.47 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002298/1.759, allocations: 131.8 kB / 1.518 GB, free: 10.34 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/1.762, allocations: 0.5087 MB / 1.518 GB, free: 9.844 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/1.765, allocations: 1.665 MB / 1.52 GB, free: 8.086 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009095/1.766, allocations: 1.059 MB / 1.521 GB, free: 7 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/1.766, allocations: 79.42 kB / 1.521 GB, free: 6.922 MB / 1.186 GB Notification: Performance of SimCode: time 2.544e-06/1.766, allocations: 0 / 1.521 GB, free: 6.922 MB / 1.186 GB Notification: Performance of Templates: time 0.03358/1.8, allocations: 17.31 MB / 1.538 GB, free: 5.754 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/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