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.00153/0.00153, allocations: 80.41 kB / 20.23 MB, free: 4.195 MB / 18.57 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.001702/0.001702, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.587/1.587, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.934/2.934, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0.7656 kB / 0.8108 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.38e-05/3.549e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.346/0.346, allocations: 221.7 MB / 1.027 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.7288/1.075, allocations: 20.45 MB / 1.047 GB, free: 17.17 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002673/1.077, allocations: 79.25 kB / 1.047 GB, free: 17.17 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.003641/1.081, allocations: 0.999 MB / 1.048 GB, free: 17.16 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.006359/1.087, allocations: 1.558 MB / 1.05 GB, free: 17.1 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.007755/1.095, allocations: 2.034 MB / 1.052 GB, free: 17.04 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.005925/1.101, allocations: 2.724 MB / 1.054 GB, free: 16.98 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003152/1.104, allocations: 0.9958 MB / 1.055 GB, free: 16.87 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007249/1.112, allocations: 2.018 MB / 1.057 GB, free: 16.67 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002749/1.114, allocations: 0.8098 MB / 1.058 GB, free: 16.58 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0005151/1.115, allocations: 109.4 kB / 1.058 GB, free: 16.58 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005448/1.12, allocations: 1.412 MB / 1.06 GB, free: 16.43 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0007407/1.121, allocations: 413.9 kB / 1.06 GB, free: 16.37 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.001876/1.123, allocations: 439.7 kB / 1.061 GB, free: 16.32 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.006171/1.129, allocations: 2.36 MB / 1.063 GB, free: 16.11 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/1.129, allocations: 0 / 1.063 GB, free: 16.11 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.674e-06/1.129, allocations: 0 / 1.063 GB, free: 16.11 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.718e-05/1.129, allocations: 0.9062 kB / 1.063 GB, free: 16.11 MB / 0.9323 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.003854/1.133, allocations: 1.443 MB / 1.064 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.133, allocations: 9.625 kB / 1.064 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/1.135, allocations: 352.5 kB / 1.065 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/1.137, allocations: 0.9422 MB / 1.065 GB, free: 14.97 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/1.137, allocations: 296.8 kB / 1.066 GB, free: 14.72 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/1.137, allocations: 91.59 kB / 1.066 GB, free: 14.72 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/1.139, allocations: 0.9304 MB / 1.067 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/1.139, allocations: 1.875 kB / 1.067 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.392e-05/1.139, allocations: 37.86 kB / 1.067 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/1.139, allocations: 23.97 kB / 1.067 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/1.14, allocations: 0.6306 MB / 1.067 GB, free: 14.59 MB / 0.9323 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.003617/1.144, allocations: 2.689 MB / 1.07 GB, free: 13.51 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/1.144, allocations: 180.8 kB / 1.07 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/1.145, allocations: 138.4 kB / 1.07 GB, free: 13.47 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005702/1.145, allocations: 129.3 kB / 1.071 GB, free: 13.47 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/1.145, allocations: 34.12 kB / 1.071 GB, free: 13.43 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=24): time 1.834e-06/1.145, allocations: 0.7812 kB / 1.071 GB, free: 13.43 MB / 0.9323 GB Notification: Performance of matching and sorting (n=24): time 0.001077/1.146, allocations: 460.9 kB / 1.071 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/1.146, allocations: 55.09 kB / 1.071 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008193/1.147, allocations: 0.7243 MB / 1.072 GB, free: 13.14 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/1.147, allocations: 36.2 kB / 1.072 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/1.147, allocations: 0.5457 MB / 1.072 GB, free: 12.84 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/1.148, allocations: 97.53 kB / 1.072 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/1.148, allocations: 94.56 kB / 1.072 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.119e-05/1.148, allocations: 325.5 kB / 1.073 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/1.148, allocations: 132.5 kB / 1.073 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/1.148, allocations: 0.7263 MB / 1.074 GB, free: 11.73 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004898/1.149, allocations: 474.8 kB / 1.074 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.149, allocations: 3.531 kB / 1.074 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007905/1.15, allocations: 0.5291 MB / 1.075 GB, free: 11.43 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/1.15, allocations: 12.94 kB / 1.075 GB, free: 11.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.15, allocations: 9.547 kB / 1.075 GB, free: 11.43 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/1.15, allocations: 9.156 kB / 1.075 GB, free: 11.43 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/1.15, allocations: 86.8 kB / 1.075 GB, free: 11.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/1.15, allocations: 16.72 kB / 1.075 GB, free: 11.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/1.151, allocations: 47.25 kB / 1.075 GB, free: 11.41 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.629e-05/1.151, allocations: 24.92 kB / 1.075 GB, free: 11.41 MB / 0.9323 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.0003304/1.151, allocations: 288.2 kB / 1.075 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/1.151, allocations: 85.91 kB / 1.075 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006608/1.152, allocations: 400.2 kB / 1.076 GB, free: 11.19 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/1.152, allocations: 7.469 kB / 1.076 GB, free: 11.19 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/1.152, allocations: 4 kB / 1.076 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.152, allocations: 5.047 kB / 1.076 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/1.154, allocations: 1.344 MB / 1.077 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/1.154, allocations: 5.469 kB / 1.077 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/1.154, allocations: 45.11 kB / 1.077 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/1.154, allocations: 6.125 kB / 1.077 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/1.154, allocations: 11.53 kB / 1.077 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/1.154, allocations: 6.156 kB / 1.077 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.154, allocations: 8.438 kB / 1.077 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000614/1.155, allocations: 0.5498 MB / 1.077 GB, free: 10.46 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/1.155, allocations: 122.3 kB / 1.078 GB, free: 10.42 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.74e-05/1.155, allocations: 11.08 kB / 1.078 GB, free: 10.42 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/1.155, allocations: 9.625 kB / 1.078 GB, free: 10.42 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/1.155, allocations: 31.17 kB / 1.078 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/1.155, allocations: 16.58 kB / 1.078 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005983/1.156, allocations: 0.4991 MB / 1.078 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/1.156, allocations: 0 / 1.078 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00108/1.157, allocations: 337.9 kB / 1.078 GB, free: 10.25 MB / 0.9323 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.0005248/1.157, allocations: 312.2 kB / 1.079 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005762/1.158, allocations: 332.2 kB / 1.079 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.158, allocations: 0 / 1.079 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001864/1.158, allocations: 142.6 kB / 1.079 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/1.16, allocations: 291.7 kB / 1.08 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/1.162, allocations: 1.563 MB / 1.081 GB, free: 9.234 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/1.162, allocations: 488.3 kB / 1.081 GB, free: 9.129 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004989/1.163, allocations: 149.8 kB / 1.082 GB, free: 9.117 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/1.163, allocations: 55.02 kB / 1.082 GB, free: 9.109 MB / 0.9323 GB Notification: Performance of SimCode: time 8.42e-07/1.163, allocations: 0 / 1.082 GB, free: 9.109 MB / 0.9323 GB Notification: Performance of Templates: time 0.02138/1.184, allocations: 12.19 MB / 1.094 GB, free: 7.648 MB / 0.9323 GB " [Timeout remaining time 299] 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: 9.855065762996674]