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.001784/0.001784, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002328/0.002328, allocations: 219.6 kB / 22.99 MB, free: 4.914 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.375/3.375, allocations: 0.4892 GB / 0.7951 GB, free: 35.46 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.002123/0.002123, allocations: 69.33 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3736, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2989/0.6725, allocations: 222.3 MB / 1.543 GB, free: 2.77 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03374/0.7063, allocations: 20.57 MB / 1.563 GB, free: 14.14 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002099/0.7084, allocations: 75.31 kB / 1.564 GB, free: 14.07 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003535/0.7119, allocations: 0.9938 MB / 1.565 GB, free: 13.07 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.005016/0.7169, allocations: 1.497 MB / 1.566 GB, free: 11.57 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.005819/0.7227, allocations: 1.971 MB / 1.568 GB, free: 9.598 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.004846/0.7276, allocations: 2.685 MB / 1.571 GB, free: 6.898 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/0.7295, allocations: 0.9656 MB / 1.571 GB, free: 5.891 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004112/0.7336, allocations: 1.631 MB / 1.573 GB, free: 4.254 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/0.7354, allocations: 0.8869 MB / 1.574 GB, free: 3.363 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.7356, allocations: 108 kB / 1.574 GB, free: 3.258 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003611/0.7392, allocations: 1.399 MB / 1.575 GB, free: 1.855 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0005016/0.7397, allocations: 386.7 kB / 1.576 GB, free: 1.477 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0008077/0.7405, allocations: 0.5133 MB / 1.576 GB, free: 0.9609 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.004533/0.745, allocations: 2.308 MB / 1.579 GB, free: 14.64 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.745, allocations: 0 / 1.579 GB, free: 14.64 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.415e-06/0.745, allocations: 0 / 1.579 GB, free: 14.64 MB / 1.279 GB Notification: Performance of Transformations before backend: time 2.343e-05/0.7451, allocations: 0 / 1.579 GB, free: 14.64 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.002555/0.7476, allocations: 1.442 MB / 1.58 GB, free: 13.17 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.7477, allocations: 8.031 kB / 1.58 GB, free: 13.16 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.7488, allocations: 239 kB / 1.58 GB, free: 12.93 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.7506, allocations: 0.8481 MB / 1.581 GB, free: 12.05 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002823/0.7509, allocations: 287.6 kB / 1.581 GB, free: 11.72 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.751, allocations: 99.92 kB / 1.581 GB, free: 11.62 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.7528, allocations: 0.9363 MB / 1.582 GB, free: 10.65 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.7528, allocations: 0 / 1.582 GB, free: 10.65 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.018e-05/0.7529, allocations: 36 kB / 1.582 GB, free: 10.61 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/0.753, allocations: 24 kB / 1.582 GB, free: 10.59 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.7542, allocations: 0.6284 MB / 1.583 GB, free: 9.961 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.004182/0.7584, allocations: 2.634 MB / 1.586 GB, free: 7.254 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/0.7588, allocations: 182.6 kB / 1.586 GB, free: 7.066 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.7591, allocations: 140.8 kB / 1.586 GB, free: 6.926 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005788/0.7596, allocations: 123.9 kB / 1.586 GB, free: 6.805 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.7597, allocations: 34.56 kB / 1.586 GB, free: 6.762 MB / 1.279 GB Notification: Performance of pre-optimization done (n=24): time 1.833e-06/0.7597, allocations: 0 / 1.586 GB, free: 6.762 MB / 1.279 GB Notification: Performance of matching and sorting (n=24): time 0.00111/0.7608, allocations: 447 kB / 1.586 GB, free: 6.32 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.7608, allocations: 59.41 kB / 1.586 GB, free: 6.25 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.7619, allocations: 0.7037 MB / 1.587 GB, free: 5.539 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.7619, allocations: 33.7 kB / 1.587 GB, free: 5.5 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005063/0.7624, allocations: 0.5464 MB / 1.588 GB, free: 4.945 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 9.253e-05/0.7625, allocations: 95.19 kB / 1.588 GB, free: 4.852 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.7627, allocations: 106 kB / 1.588 GB, free: 4.742 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0002323/0.7629, allocations: 378.8 kB / 1.588 GB, free: 4.363 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.7632, allocations: 128.8 kB / 1.588 GB, free: 4.238 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008988/0.7641, allocations: 0.7295 MB / 1.589 GB, free: 3.312 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006839/0.7647, allocations: 471.5 kB / 1.59 GB, free: 2.766 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.7648, allocations: 0 / 1.59 GB, free: 2.766 MB / 1.279 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001047/0.7658, allocations: 0.5164 MB / 1.59 GB, free: 2.242 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.7658, allocations: 11.98 kB / 1.59 GB, free: 2.23 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.7658, allocations: 4 kB / 1.59 GB, free: 2.227 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/0.7659, allocations: 11.94 kB / 1.59 GB, free: 2.215 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.7663, allocations: 79.91 kB / 1.59 GB, free: 2.137 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.171e-05/0.7663, allocations: 19.92 kB / 1.59 GB, free: 2.117 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005032/0.7668, allocations: 43.72 kB / 1.59 GB, free: 2.074 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.079e-05/0.7668, allocations: 27.98 kB / 1.59 GB, free: 2.047 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.0004722/0.7673, allocations: 289.9 kB / 1.591 GB, free: 1.754 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.7674, allocations: 79.48 kB / 1.591 GB, free: 1.676 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007525/0.7682, allocations: 404.9 kB / 1.591 GB, free: 1.27 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.7682, allocations: 0 / 1.591 GB, free: 1.27 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.7682, allocations: 0 / 1.591 GB, free: 1.27 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.7682, allocations: 7.984 kB / 1.591 GB, free: 1.262 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.7705, allocations: 1.34 MB / 1.592 GB, free: 15.82 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.7705, allocations: 4.562 kB / 1.592 GB, free: 15.82 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.7707, allocations: 43.98 kB / 1.592 GB, free: 15.78 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.7707, allocations: 8 kB / 1.592 GB, free: 15.77 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.7708, allocations: 15.94 kB / 1.592 GB, free: 15.75 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.251e-05/0.7708, allocations: 7.938 kB / 1.592 GB, free: 15.75 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.7708, allocations: 4 kB / 1.592 GB, free: 15.74 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000904/0.7717, allocations: 0.5504 MB / 1.593 GB, free: 15.12 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/0.772, allocations: 111.4 kB / 1.593 GB, free: 15.01 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.437e-05/0.7721, allocations: 11.94 kB / 1.593 GB, free: 15 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.7723, allocations: 12 kB / 1.593 GB, free: 14.99 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.808e-05/0.7724, allocations: 36.11 kB / 1.593 GB, free: 14.95 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.7724, allocations: 16 kB / 1.593 GB, free: 14.94 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0007398/0.7732, allocations: 495 kB / 1.594 GB, free: 14.46 MB / 1.295 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7732, allocations: 0 / 1.594 GB, free: 14.46 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001184/0.7744, allocations: 322.9 kB / 1.594 GB, free: 14.14 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.0006301/0.775, allocations: 318 kB / 1.594 GB, free: 13.83 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0006805/0.7757, allocations: 340.5 kB / 1.595 GB, free: 13.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.7757, allocations: 0 / 1.595 GB, free: 13.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.7759, allocations: 131.8 kB / 1.595 GB, free: 13.37 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.7773, allocations: 272.1 kB / 1.595 GB, free: 13.11 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.78, allocations: 1.598 MB / 1.596 GB, free: 11.42 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/0.7806, allocations: 479.9 kB / 1.597 GB, free: 10.92 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.7808, allocations: 63.42 kB / 1.597 GB, free: 10.86 MB / 1.295 GB Notification: Performance of SimCode: time 8.21e-07/0.7808, allocations: 0 / 1.597 GB, free: 10.86 MB / 1.295 GB Notification: Performance of Templates: time 0.7162/1.497, allocations: 14.31 MB / 1.611 GB, free: 283.3 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/jenkins1/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: 14.285615274682641]