Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001884/0.001884, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002539/0.002539, allocations: 217.8 kB / 23.01 MB, free: 4.609 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.938/2.938, allocations: 476.7 MB / 0.7714 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002025/0.002025, allocations: 67.16 kB / 1.119 GB, free: 40.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4073, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3291/0.7364, allocations: 254.2 MB / 1.533 GB, free: 12.13 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03398/0.7704, allocations: 22.62 MB / 1.555 GB, free: 5.438 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002363/0.7727, allocations: 71.38 kB / 1.555 GB, free: 5.367 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.003521/0.7763, allocations: 1.002 MB / 1.556 GB, free: 4.359 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.005347/0.7816, allocations: 1.533 MB / 1.557 GB, free: 2.82 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.005982/0.7876, allocations: 2.038 MB / 1.559 GB, free: 0.7852 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.004967/0.7926, allocations: 2.7 MB / 1.562 GB, free: 14.07 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001917/0.7945, allocations: 0.9696 MB / 1.563 GB, free: 13.07 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003437/0.7979, allocations: 1.382 MB / 1.564 GB, free: 11.68 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002019/0.7999, allocations: 0.965 MB / 1.565 GB, free: 10.71 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002021/0.8001, allocations: 108 kB / 1.565 GB, free: 10.61 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005158/0.8053, allocations: 1.863 MB / 1.567 GB, free: 8.742 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0005833/0.8059, allocations: 386.7 kB / 1.568 GB, free: 8.363 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.807, allocations: 0.6338 MB / 1.568 GB, free: 7.727 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.004898/0.8119, allocations: 2.363 MB / 1.571 GB, free: 5.355 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.8119, allocations: 0 / 1.571 GB, free: 5.355 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8119, allocations: 4 kB / 1.571 GB, free: 5.352 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.177e-05/0.8119, allocations: 0 / 1.571 GB, free: 5.352 MB / 1.264 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.002743/0.8146, allocations: 1.43 MB / 1.572 GB, free: 3.887 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.8147, allocations: 8.031 kB / 1.572 GB, free: 3.879 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.8158, allocations: 235 kB / 1.572 GB, free: 3.648 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.8175, allocations: 0.8441 MB / 1.573 GB, free: 2.777 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003654/0.8179, allocations: 299.6 kB / 1.573 GB, free: 2.438 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.818, allocations: 91.94 kB / 1.573 GB, free: 2.348 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.8198, allocations: 0.9362 MB / 1.574 GB, free: 1.375 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.8198, allocations: 0 / 1.574 GB, free: 1.375 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.325e-05/0.8199, allocations: 36 kB / 1.574 GB, free: 1.34 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/0.8199, allocations: 20 kB / 1.574 GB, free: 1.32 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.8211, allocations: 0.6324 MB / 1.575 GB, free: 0.6914 MB / 1.264 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.005805/0.8269, allocations: 4.371 MB / 1.579 GB, free: 11.93 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/0.8273, allocations: 182.7 kB / 1.579 GB, free: 11.74 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.8275, allocations: 136.8 kB / 1.58 GB, free: 11.6 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000578/0.8281, allocations: 123.9 kB / 1.58 GB, free: 11.48 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.8281, allocations: 34.56 kB / 1.58 GB, free: 11.44 MB / 1.279 GB Notification: Performance of pre-optimization done (n=24): time 2.545e-06/0.8281, allocations: 0 / 1.58 GB, free: 11.44 MB / 1.279 GB Notification: Performance of matching and sorting (n=24): time 0.001185/0.8293, allocations: 480.5 kB / 1.58 GB, free: 10.96 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.8294, allocations: 55.41 kB / 1.58 GB, free: 10.89 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.831, allocations: 1.102 MB / 1.581 GB, free: 9.777 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.831, allocations: 37.64 kB / 1.581 GB, free: 9.734 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005138/0.8315, allocations: 0.5126 MB / 1.582 GB, free: 9.219 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 9.925e-05/0.8316, allocations: 91.22 kB / 1.582 GB, free: 9.129 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.8318, allocations: 98.06 kB / 1.582 GB, free: 9.027 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.832, allocations: 322 kB / 1.582 GB, free: 8.707 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.8322, allocations: 128.8 kB / 1.582 GB, free: 8.582 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005794/0.8328, allocations: 387.1 kB / 1.583 GB, free: 8.094 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007157/0.8335, allocations: 475.5 kB / 1.583 GB, free: 7.543 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.8335, allocations: 0 / 1.583 GB, free: 7.543 MB / 1.279 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009761/0.8345, allocations: 0.536 MB / 1.584 GB, free: 7 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.8345, allocations: 11.94 kB / 1.584 GB, free: 6.988 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.8345, allocations: 15.92 kB / 1.584 GB, free: 6.973 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.8346, allocations: 8 kB / 1.584 GB, free: 6.965 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.8349, allocations: 83.91 kB / 1.584 GB, free: 6.883 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.835, allocations: 15.92 kB / 1.584 GB, free: 6.867 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006839/0.8356, allocations: 99.23 kB / 1.584 GB, free: 6.77 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/0.8357, allocations: 27.98 kB / 1.584 GB, free: 6.742 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.0004664/0.8362, allocations: 285.7 kB / 1.584 GB, free: 6.453 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.8363, allocations: 107.3 kB / 1.584 GB, free: 6.348 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007749/0.8371, allocations: 429.5 kB / 1.585 GB, free: 5.918 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.8371, allocations: 7.984 kB / 1.585 GB, free: 5.91 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.8371, allocations: 3.938 kB / 1.585 GB, free: 5.906 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.8371, allocations: 8.219 kB / 1.585 GB, free: 5.898 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.8396, allocations: 1.522 MB / 1.586 GB, free: 4.273 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.8396, allocations: 4 kB / 1.586 GB, free: 4.27 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.8397, allocations: 47.89 kB / 1.586 GB, free: 4.223 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/0.8398, allocations: 11.98 kB / 1.586 GB, free: 4.211 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.8398, allocations: 12 kB / 1.586 GB, free: 4.199 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.129e-05/0.8398, allocations: 12 kB / 1.586 GB, free: 4.188 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.8398, allocations: 4 kB / 1.586 GB, free: 4.184 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007347/0.8405, allocations: 0.5837 MB / 1.587 GB, free: 3.531 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003854/0.8409, allocations: 163.2 kB / 1.587 GB, free: 3.371 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.841, allocations: 12 kB / 1.587 GB, free: 3.359 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/0.8415, allocations: 19.98 kB / 1.587 GB, free: 3.34 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.8415, allocations: 31.78 kB / 1.587 GB, free: 3.309 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.8415, allocations: 12 kB / 1.587 GB, free: 3.297 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001163/0.8427, allocations: 0.7822 MB / 1.588 GB, free: 2.508 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8427, allocations: 4 kB / 1.588 GB, free: 2.504 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001046/0.8437, allocations: 287.4 kB / 1.588 GB, free: 2.223 MB / 1.279 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.0005813/0.8443, allocations: 314.2 kB / 1.589 GB, free: 1.91 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0007162/0.845, allocations: 336.5 kB / 1.589 GB, free: 1.582 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.845, allocations: 0 / 1.589 GB, free: 1.582 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.8453, allocations: 140 kB / 1.589 GB, free: 1.445 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/0.8475, allocations: 0.5145 MB / 1.589 GB, free: 0.9414 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.8503, allocations: 1.648 MB / 1.591 GB, free: 15.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008151/0.8511, allocations: 1.055 MB / 1.592 GB, free: 14.11 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.8514, allocations: 79.42 kB / 1.592 GB, free: 14.04 MB / 1.295 GB Notification: Performance of SimCode: time 1.112e-06/0.8514, allocations: 0 / 1.592 GB, free: 14.04 MB / 1.295 GB Notification: Performance of Templates: time 0.7908/1.642, allocations: 17.27 MB / 1.609 GB, free: 320.2 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.61910755399731]