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.002585/0.002585, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.003969/0.003969, allocations: 213.7 kB / 22.24 MB, free: 5.238 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.8/1.8, allocations: 230.6 MB / 256 MB, free: 7.789 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.77/3.77, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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.003108/0.003108, allocations: 72.73 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.4973, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3326/0.83, allocations: 222.3 MB / 1.543 GB, free: 2.738 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03326/0.8632, allocations: 20.57 MB / 1.563 GB, free: 14.11 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00283/0.8661, allocations: 75.31 kB / 1.563 GB, free: 14.03 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003774/0.8698, allocations: 0.986 MB / 1.564 GB, free: 13.04 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.005479/0.8753, allocations: 1.505 MB / 1.565 GB, free: 11.53 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.007843/0.8832, allocations: 1.966 MB / 1.567 GB, free: 9.566 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.006073/0.8892, allocations: 2.686 MB / 1.57 GB, free: 6.863 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002839/0.8921, allocations: 0.9579 MB / 1.571 GB, free: 5.863 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00544/0.8975, allocations: 1.631 MB / 1.572 GB, free: 4.227 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00248/0.9, allocations: 0.8947 MB / 1.573 GB, free: 3.328 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0004403/0.9004, allocations: 108 kB / 1.573 GB, free: 3.223 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004561/0.905, allocations: 1.395 MB / 1.575 GB, free: 1.824 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0008307/0.9058, allocations: 390.7 kB / 1.575 GB, free: 1.441 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001666/0.9075, allocations: 0.5133 MB / 1.575 GB, free: 0.9258 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.0059/0.9134, allocations: 2.304 MB / 1.578 GB, free: 14.61 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.9134, allocations: 0 / 1.578 GB, free: 14.61 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.405e-06/0.9134, allocations: 3.938 kB / 1.578 GB, free: 14.61 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001024/0.9135, allocations: 0 / 1.578 GB, free: 14.61 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.004347/0.9179, allocations: 1.446 MB / 1.579 GB, free: 13.13 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.9179, allocations: 8.031 kB / 1.579 GB, free: 13.12 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.9193, allocations: 231.1 kB / 1.579 GB, free: 12.89 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/0.9213, allocations: 0.8558 MB / 1.58 GB, free: 12.01 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003059/0.9216, allocations: 291.6 kB / 1.58 GB, free: 11.68 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.9217, allocations: 99.94 kB / 1.581 GB, free: 11.58 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.9235, allocations: 0.9285 MB / 1.582 GB, free: 10.61 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.9235, allocations: 0 / 1.582 GB, free: 10.61 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.819e-05/0.9236, allocations: 36 kB / 1.582 GB, free: 10.58 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/0.9236, allocations: 24 kB / 1.582 GB, free: 10.55 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.9248, allocations: 0.6246 MB / 1.582 GB, free: 9.93 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.004237/0.929, allocations: 2.638 MB / 1.585 GB, free: 7.219 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004452/0.9295, allocations: 190.6 kB / 1.585 GB, free: 7.023 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.9297, allocations: 133.6 kB / 1.585 GB, free: 6.891 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005549/0.9302, allocations: 123.9 kB / 1.585 GB, free: 6.77 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.9303, allocations: 34.56 kB / 1.585 GB, free: 6.727 MB / 1.279 GB Notification: Performance of pre-optimization done (n=24): time 1.774e-06/0.9303, allocations: 0 / 1.585 GB, free: 6.727 MB / 1.279 GB Notification: Performance of matching and sorting (n=24): time 0.001044/0.9313, allocations: 446.6 kB / 1.586 GB, free: 6.285 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.9314, allocations: 55.41 kB / 1.586 GB, free: 6.219 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009671/0.9324, allocations: 0.7076 MB / 1.586 GB, free: 5.504 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.9324, allocations: 33.7 kB / 1.586 GB, free: 5.465 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005156/0.9329, allocations: 0.5464 MB / 1.587 GB, free: 4.91 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 9.167e-05/0.933, allocations: 99.19 kB / 1.587 GB, free: 4.812 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.9332, allocations: 98.03 kB / 1.587 GB, free: 4.711 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0002545/0.9334, allocations: 378.8 kB / 1.587 GB, free: 4.332 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.9337, allocations: 128.8 kB / 1.588 GB, free: 4.207 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007448/0.9344, allocations: 0.7333 MB / 1.588 GB, free: 3.273 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006691/0.9351, allocations: 471.5 kB / 1.589 GB, free: 2.727 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.9351, allocations: 0 / 1.589 GB, free: 2.727 MB / 1.279 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009226/0.936, allocations: 0.5164 MB / 1.589 GB, free: 2.203 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.936, allocations: 4 kB / 1.589 GB, free: 2.199 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.936, allocations: 8 kB / 1.589 GB, free: 2.191 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/0.9361, allocations: 11.94 kB / 1.589 GB, free: 2.18 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.9364, allocations: 91.83 kB / 1.589 GB, free: 2.09 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.798e-05/0.9365, allocations: 11.94 kB / 1.589 GB, free: 2.078 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004817/0.9369, allocations: 47.77 kB / 1.589 GB, free: 2.031 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-05/0.937, allocations: 24.34 kB / 1.589 GB, free: 2.008 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.0004534/0.9375, allocations: 293.6 kB / 1.59 GB, free: 1.711 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.9376, allocations: 79.48 kB / 1.59 GB, free: 1.633 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007247/0.9383, allocations: 400.7 kB / 1.59 GB, free: 1.23 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.9383, allocations: 0 / 1.59 GB, free: 1.23 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.9383, allocations: 0 / 1.59 GB, free: 1.23 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.9383, allocations: 0 / 1.59 GB, free: 1.23 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.9406, allocations: 1.344 MB / 1.592 GB, free: 15.79 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.9406, allocations: 8.562 kB / 1.592 GB, free: 15.79 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.9408, allocations: 40.2 kB / 1.592 GB, free: 15.75 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.014e-06/0.9408, allocations: 8 kB / 1.592 GB, free: 15.74 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.9408, allocations: 15.94 kB / 1.592 GB, free: 15.72 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.9408, allocations: 7.984 kB / 1.592 GB, free: 15.71 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.9408, allocations: 7.938 kB / 1.592 GB, free: 15.71 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008749/0.9417, allocations: 0.5489 MB / 1.592 GB, free: 15.09 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002678/0.942, allocations: 115.4 kB / 1.592 GB, free: 14.97 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.671e-05/0.942, allocations: 15.92 kB / 1.592 GB, free: 14.96 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/0.9423, allocations: 12 kB / 1.592 GB, free: 14.95 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.659e-05/0.9424, allocations: 31.84 kB / 1.592 GB, free: 14.91 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.9424, allocations: 16 kB / 1.592 GB, free: 14.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.000714/0.9431, allocations: 499 kB / 1.593 GB, free: 14.42 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/0.9431, allocations: 0 / 1.593 GB, free: 14.42 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001139/0.9443, allocations: 319 kB / 1.593 GB, free: 14.11 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.0005898/0.9449, allocations: 318.5 kB / 1.593 GB, free: 13.79 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0006651/0.9455, allocations: 334.4 kB / 1.594 GB, free: 13.46 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.9455, allocations: 4 kB / 1.594 GB, free: 13.46 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.9457, allocations: 133.3 kB / 1.594 GB, free: 13.33 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.9471, allocations: 265.1 kB / 1.594 GB, free: 13.08 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.9499, allocations: 1.545 MB / 1.596 GB, free: 11.44 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006452/0.9505, allocations: 487.9 kB / 1.596 GB, free: 10.93 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0005339/0.9511, allocations: 152.3 kB / 1.596 GB, free: 10.79 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.9512, allocations: 47.44 kB / 1.596 GB, free: 10.75 MB / 1.295 GB Notification: Performance of SimCode: time 7.51e-07/0.9512, allocations: 0 / 1.596 GB, free: 10.75 MB / 1.295 GB Notification: Performance of Templates: time 0.967/1.918, allocations: 13.48 MB / 1.609 GB, free: 283.7 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 -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/jenkins/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: 12.739560101181269]