Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00177/0.00177, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.001835/0.001835, allocations: 168.4 kB / 22.46 MB, free: 5.375 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.599/1.599, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.077/3.077, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 1 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.087e-05/4.267e-05, allocations: 4.953 kB / 1 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.28/1.28, allocations: 221.6 MB / 1.217 GB, free: 3.164 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03373/1.314, allocations: 20.41 MB / 1.237 GB, free: 3.246 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003944/1.318, allocations: 73.34 kB / 1.237 GB, free: 3.207 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004277/1.322, allocations: 0.9972 MB / 1.238 GB, free: 2.344 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006848/1.329, allocations: 1.552 MB / 1.239 GB, free: 1.117 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.007093/1.336, allocations: 2.029 MB / 1.241 GB, free: 15.6 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005641/1.342, allocations: 2.678 MB / 1.244 GB, free: 14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001813/1.344, allocations: 0.918 MB / 1.245 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005272/1.349, allocations: 1.994 MB / 1.247 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/1.35, allocations: 0.8091 MB / 1.247 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.00018/1.351, allocations: 110.3 kB / 1.247 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004183/1.355, allocations: 1.411 MB / 1.249 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005002/1.355, allocations: 403.6 kB / 1.249 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006939/1.356, allocations: 449.8 kB / 1.25 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005047/1.361, allocations: 2.35 MB / 1.252 GB, free: 8.789 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.361, allocations: 0 / 1.252 GB, free: 8.789 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.375e-06/1.361, allocations: 0 / 1.252 GB, free: 8.789 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.127e-05/1.361, allocations: 0 / 1.252 GB, free: 8.789 MB / 1.061 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.002674/1.364, allocations: 1.428 MB / 1.253 GB, free: 7.695 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/1.364, allocations: 12.44 kB / 1.253 GB, free: 7.691 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/1.365, allocations: 234.9 kB / 1.254 GB, free: 7.586 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/1.367, allocations: 0.8631 MB / 1.254 GB, free: 6.926 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003122/1.367, allocations: 291 kB / 1.255 GB, free: 6.641 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/1.367, allocations: 89.69 kB / 1.255 GB, free: 6.613 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/1.369, allocations: 0.9244 MB / 1.256 GB, free: 6.035 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/1.369, allocations: 2.625 kB / 1.256 GB, free: 6.035 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.184e-05/1.369, allocations: 39.94 kB / 1.256 GB, free: 6.004 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/1.369, allocations: 21.38 kB / 1.256 GB, free: 6.004 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/1.37, allocations: 0.6377 MB / 1.256 GB, free: 5.684 MB / 1.061 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.004167/1.374, allocations: 2.631 MB / 1.259 GB, free: 3.633 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/1.375, allocations: 177 kB / 1.259 GB, free: 3.531 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/1.375, allocations: 139.4 kB / 1.259 GB, free: 3.457 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005596/1.375, allocations: 126.9 kB / 1.259 GB, free: 3.414 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/1.375, allocations: 32.78 kB / 1.259 GB, free: 3.375 MB / 1.061 GB Notification: Performance of pre-optimization done (n=24): time 2.164e-06/1.375, allocations: 0 / 1.259 GB, free: 3.375 MB / 1.061 GB Notification: Performance of matching and sorting (n=24): time 0.001129/1.377, allocations: 448.9 kB / 1.26 GB, free: 3.141 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/1.377, allocations: 58.81 kB / 1.26 GB, free: 3.074 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/1.378, allocations: 0.7176 MB / 1.261 GB, free: 2.656 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/1.378, allocations: 36.55 kB / 1.261 GB, free: 2.617 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005073/1.378, allocations: 0.551 MB / 1.261 GB, free: 2.125 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.147e-05/1.378, allocations: 90.28 kB / 1.261 GB, free: 2.047 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/1.378, allocations: 92.61 kB / 1.261 GB, free: 1.992 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002259/1.379, allocations: 380.2 kB / 1.262 GB, free: 1.625 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/1.379, allocations: 127.3 kB / 1.262 GB, free: 1.562 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008239/1.38, allocations: 0.7284 MB / 1.262 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000657/1.38, allocations: 471.8 kB / 1.263 GB, free: 360 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.38, allocations: 3.25 kB / 1.263 GB, free: 360 kB / 1.061 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009468/1.381, allocations: 0.5132 MB / 1.263 GB, free: 72 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.381, allocations: 8.656 kB / 1.263 GB, free: 72 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/1.381, allocations: 9.406 kB / 1.263 GB, free: 68 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.36e-05/1.381, allocations: 8 kB / 1.263 GB, free: 68 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/1.382, allocations: 84.62 kB / 1.264 GB, free: 52 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/1.382, allocations: 16.11 kB / 1.264 GB, free: 44 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005269/1.382, allocations: 58.28 kB / 1.264 GB, free: 4 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.549e-05/1.382, allocations: 22.84 kB / 1.264 GB, free: 0 / 1.061 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.0005072/1.383, allocations: 283.5 kB / 1.264 GB, free: 15.72 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/1.383, allocations: 79.53 kB / 1.264 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008398/1.384, allocations: 404.1 kB / 1.264 GB, free: 15.23 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.384, allocations: 3.938 kB / 1.264 GB, free: 15.23 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.384, allocations: 0 / 1.264 GB, free: 15.23 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/1.384, allocations: 15.92 kB / 1.264 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/1.386, allocations: 1.336 MB / 1.266 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/1.386, allocations: 4 kB / 1.266 GB, free: 13.78 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/1.386, allocations: 39.92 kB / 1.266 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/1.386, allocations: 4 kB / 1.266 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/1.386, allocations: 12 kB / 1.266 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.285e-05/1.386, allocations: 12.48 kB / 1.266 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/1.386, allocations: 8 kB / 1.266 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007421/1.387, allocations: 0.5411 MB / 1.266 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/1.387, allocations: 115.7 kB / 1.266 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.39e-05/1.387, allocations: 19.89 kB / 1.266 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/1.388, allocations: 4 kB / 1.266 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/1.388, allocations: 35.78 kB / 1.266 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/1.388, allocations: 19.98 kB / 1.266 GB, free: 12.9 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000781/1.389, allocations: 0.499 MB / 1.267 GB, free: 12.41 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.389, allocations: 4 kB / 1.267 GB, free: 12.41 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001192/1.39, allocations: 315 kB / 1.267 GB, free: 12.1 MB / 1.076 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.0006395/1.39, allocations: 319.6 kB / 1.268 GB, free: 11.78 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006661/1.391, allocations: 328.7 kB / 1.268 GB, free: 11.46 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.391, allocations: 3.938 kB / 1.268 GB, free: 11.46 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/1.391, allocations: 144 kB / 1.268 GB, free: 11.32 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/1.393, allocations: 241.5 kB / 1.268 GB, free: 11.09 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/1.395, allocations: 1.534 MB / 1.27 GB, free: 9.465 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005855/1.396, allocations: 487.8 kB / 1.27 GB, free: 8.957 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005102/1.396, allocations: 144.2 kB / 1.27 GB, free: 8.82 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/1.397, allocations: 48.5 kB / 1.27 GB, free: 8.773 MB / 1.076 GB Notification: Performance of SimCode: time 8.01e-07/1.397, allocations: 0 / 1.27 GB, free: 8.773 MB / 1.076 GB Notification: Performance of Templates: time 0.02702/1.424, allocations: 11.6 MB / 1.282 GB, free: 13.42 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.089860830456018]